fix some issues with Linux compatibility,

see Issue 409
This commit is contained in:
erwin.coumans
2010-07-17 13:44:10 +00:00
parent 41ad5d3c06
commit 5b70a895a5
6 changed files with 17 additions and 5 deletions

View File

@@ -27,7 +27,7 @@ subject to the following restrictions:
#include "LinearMath/btMinMax.h"
#include <stdio.h>
#define DEBUG_MINICL_KERNELS 1
//#define DEBUG_MINICL_KERNELS 1
static char* spPlatformID = "MiniCL, SCEA";

View File

@@ -18,7 +18,9 @@ subject to the following restrictions:
#include "PlatformDefinitions.h"
#ifdef USE_PTHREADS //platform specific 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
#endif //_XOPEN_SOURCE
#include <pthread.h>
#include <semaphore.h>