瀏覽代碼

core: fix Bullet compilation with the Native Client toolchain.

legacy
Sam Hocevar sam 13 年之前
父節點
當前提交
735d071778
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. +1
    -1
      src/bullet/BulletCollision/BroadphaseCollision/btDbvt.h
  2. +1
    -1
      src/bullet/LinearMath/btSerializer.h

+ 1
- 1
src/bullet/BulletCollision/BroadphaseCollision/btDbvt.h 查看文件

@@ -92,7 +92,7 @@ subject to the following restrictions:
#endif #endif


#if DBVT_USE_MEMMOVE #if DBVT_USE_MEMMOVE
#if !defined( __CELLOS_LV2__) && !defined(__MWERKS__)
#if !defined( __CELLOS_LV2__) && !defined(__MWERKS__) && !defined(__native_client__)
#include <memory.h> #include <memory.h>
#endif #endif
#include <string.h> #include <string.h>


+ 1
- 1
src/bullet/LinearMath/btSerializer.h 查看文件

@@ -20,7 +20,7 @@ subject to the following restrictions:
#include "btStackAlloc.h" #include "btStackAlloc.h"
#include "btHashMap.h" #include "btHashMap.h"


#if !defined( __CELLOS_LV2__) && !defined(__MWERKS__)
#if !defined( __CELLOS_LV2__) && !defined(__MWERKS__) && !defined(__native_client__)
#include <memory.h> #include <memory.h>
#endif #endif
#include <string.h> #include <string.h>


Loading…
取消
儲存