minor platform dependent fixes to allow compilation under Xenon

This commit is contained in:
ejcoumans
2007-06-29 22:30:05 +00:00
parent edbd7255c4
commit 485677513b
7 changed files with 245 additions and 6 deletions

View File

@@ -49,8 +49,13 @@ typedef uint64_t __int64;
#define NOWINRES
#define NOMCX
#define NOIME
#ifdef _XBOX
#include <Xtl.h>
#else
#include <windows.h>
#endif
#include <time.h>
#else
#include <sys/time.h>
#endif
@@ -704,3 +709,4 @@ std::string btProfiler::createStatsString(BlockTimingMethod method)
#endif //QUICK_PROF_H

View File

@@ -35,6 +35,11 @@ subject to the following restrictions:
#pragma warning(disable:4786)
#define SIMD_FORCE_INLINE __forceinline
#define ATTRIBUTE_ALIGNED16(a) __declspec(align(16)) a
#ifdef _XBOX
#define BT_USE_VMX128
#else
#define BT_USE_SSE
#endif
#endif //__MINGW32__
#include <assert.h>