Make sure that the right bits.h file is always included.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-03-27 16:32:43 +02:00
parent cd0e402bbb
commit b3b1f6af66
1 changed files with 12 additions and 4 deletions

View File

@ -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