minor platform dependent fixes to allow compilation under Xenon
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user