Make sure that the right bits.h file is always included.
This commit is contained in:
parent
cd0e402bbb
commit
b3b1f6af66
1 changed files with 12 additions and 4 deletions
|
@ -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"
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_X64
|
||||
#elif defined(PLATFORM_X64)
|
||||
#include "x64/bits.h"
|
||||
#else
|
||||
#warning Unsupported platform
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue