浏览代码

should pass interrogation now once it passes normal compiling phase

Josh Wilson 19 年之前
父节点
当前提交
71abebad7d
共有 3 个文件被更改,包括 9 次插入10 次删除
  1. 2 1
      dtool/src/parser-inc/Sources.pp
  2. 1 0
      dtool/src/parser-inc/collision_trimesh.h
  3. 6 9
      dtool/src/parser-inc/config.h

+ 2 - 1
dtool/src/parser-inc/Sources.pp

@@ -11,4 +11,5 @@
     avcodec.h avformat.h avio.h avutil.h common.h integer.h \
     intfloat_readwrite.h mathematics.h rational.h rtp.h \
     rtsp.h rtspcodes.h winsock2.h \
-    ode/common.h ode/config.h
+    ode/config.h ode/common.h collision_trimesh.h 
+

+ 1 - 0
dtool/src/parser-inc/collision_trimesh.h

@@ -0,0 +1 @@
+#include "ode/collision_trimesh.h"

+ 6 - 9
dtool/src/parser-inc/config.h

@@ -6,15 +6,12 @@
 #ifndef _ODE_CONFIG_H_
 #define _ODE_CONFIG_H_
 
-# ODE header stuff
+#define dSINGLE 1
+#define _MSC_VER 1
+#define ODE_PLATFORM_WINDOWS  
 
-/*
-typedef long            int32;
-typedef unsigned long   uint32;
-typedef short           int16;
-typedef unsigned short  uint16;
-typedef char            int8;
-typedef unsigned char   uint8;
-*/
+#if !defined(ODE_API)
+  #define ODE_API
+#endif
 
 #endif /* _ODE_CONFIG_H */