소스 검색

Fix Bullet compilation.

LuisAntonRebollo 10 년 전
부모
커밋
2eca491961
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      Engine/source/T3D/physics/bullet/bt.h

+ 5 - 1
Engine/source/T3D/physics/bullet/bt.h

@@ -24,10 +24,14 @@
 #define _BULLET_H_
 
 // NOTE: We set these defines which bullet needs here.
-#ifdef TORQUE_OS_WIN
+#if defined TORQUE_OS_WIN && !defined(WIN32)
 #define WIN32
 #endif
 
+#ifdef TORQUE_CPU_X86
+#define __BT_SKIP_UINT64_H
+#endif
+
 // NOTE: All the Bullet includes we use should be here and
 // nowhere else.... beware!