enable posix shared memory on non-Win32 platforms (Linux and Mac) for example browser

This commit is contained in:
Erwin Coumans (Google)
2015-05-30 20:32:29 -07:00
parent c28afd2242
commit 190382e9ec

View File

@@ -2,10 +2,10 @@
#include "Bullet3Common/b3Logging.h"
#include "LinearMath/btScalar.h" //for btAssert
#ifdef __APPLE__
//haven't implemented shared memory on Windows yet, just Linux and Mac
#ifndef _WIN32
#define TEST_SHARED_MEMORY
#endif
#endif//_WIN32
#include <stddef.h>
@@ -83,4 +83,4 @@ void PosixSharedMemory::releaseSharedMemory(int key, int size)
}
}
#endif
}
}