Make sure that the right bits.h file is always included.
This commit is contained in:
parent
cd0e402bbb
commit
b3b1f6af66
|
@ -22,11 +22,19 @@
|
||||||
|
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
#ifdef PLATFORM_X86
|
#if !defined(PLATFORM_X86) && !defined(PLATFORM_X64)
|
||||||
|
#if defined(__LP64__)
|
||||||
|
#define PLATFORM_X64
|
||||||
|
#else
|
||||||
|
#define PLATFORM_X86
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PLATFORM_X86)
|
||||||
#include "x86/bits.h"
|
#include "x86/bits.h"
|
||||||
#endif
|
#elif defined(PLATFORM_X64)
|
||||||
|
|
||||||
#ifdef PLATFORM_X64
|
|
||||||
#include "x64/bits.h"
|
#include "x64/bits.h"
|
||||||
|
#else
|
||||||
|
#warning Unsupported platform
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue