From 1fb2fa3db973a2c5d450f19d3e649c03396e43c6 Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sat, 2 Apr 2011 20:13:50 +0000 Subject: [PATCH] put an #ifdef in PosixThreadSupport in the right location --- src/BulletMultiThreaded/PosixThreadSupport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BulletMultiThreaded/PosixThreadSupport.h b/src/BulletMultiThreaded/PosixThreadSupport.h index 91ad6d4fe..2df3f0e6d 100644 --- a/src/BulletMultiThreaded/PosixThreadSupport.h +++ b/src/BulletMultiThreaded/PosixThreadSupport.h @@ -16,11 +16,11 @@ subject to the following restrictions: #ifndef BT_POSIX_THREAD_SUPPORT_H #define BT_POSIX_THREAD_SUPPORT_H -#ifdef USE_PTHREADS //platform specific defines are defined in PlatformDefinitions.h #include "LinearMath/btScalar.h" #include "PlatformDefinitions.h" +#ifdef USE_PTHREADS //platform specifc defines are defined in PlatformDefinitions.h #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 600 //for definition of pthread_barrier_t, see http://pages.cs.wisc.edu/~travitch/pthreads_primer.html