enable posix shared memory on non-Win32 platforms (Linux and Mac) for example browser
This commit is contained in:
@@ -2,10 +2,10 @@
|
|||||||
#include "Bullet3Common/b3Logging.h"
|
#include "Bullet3Common/b3Logging.h"
|
||||||
#include "LinearMath/btScalar.h" //for btAssert
|
#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
|
#define TEST_SHARED_MEMORY
|
||||||
|
#endif//_WIN32
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
|
||||||
@@ -83,4 +83,4 @@ void PosixSharedMemory::releaseSharedMemory(int key, int size)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user