Browse Source

Common: Fix some out-of-style includes

nce_cpp
Yuri Kunde Schlesner 9 years ago
parent
commit
8b55ffb74a
  1. 2
      src/common/common_funcs.h
  2. 6
      src/common/hash.cpp
  3. 2
      src/common/x64/cpu_detect.cpp

2
src/common/common_funcs.h

@ -7,7 +7,7 @@
#if !defined(ARCHITECTURE_x86_64) && !defined(_M_ARM)
#include <cstdlib> // for exit
#endif
#include "common_types.h"
#include "common/common_types.h"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))

6
src/common/hash.cpp

@ -5,9 +5,9 @@
#if defined(_MSC_VER)
#include <stdlib.h>
#endif
#include "common_funcs.h"
#include "common_types.h"
#include "hash.h"
#include "common/common_funcs.h"
#include "common/common_types.h"
#include "common/hash.h"
namespace Common {

2
src/common/x64/cpu_detect.cpp

@ -6,7 +6,7 @@
#include <string>
#include <thread>
#include "common/common_types.h"
#include "cpu_detect.h"
#include "common/x64/cpu_detect.h"
#ifdef _MSC_VER
#include <intrin.h>

Loading…
Cancel
Save