diff --git a/examples/SharedMemory/PosixSharedMemory.cpp b/examples/SharedMemory/PosixSharedMemory.cpp index 69a54eace..5289db5f6 100644 --- a/examples/SharedMemory/PosixSharedMemory.cpp +++ b/examples/SharedMemory/PosixSharedMemory.cpp @@ -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 @@ -83,4 +83,4 @@ void PosixSharedMemory::releaseSharedMemory(int key, int size) } } #endif -} \ No newline at end of file +}