+ add dummy getcwd/getenv for PS3 compatibility

+ disable HAVE_SIGNAL_H 0 for LibXML
+ removed unused variable in btCollisionWorld
+ removed unused variable in btSequentialImpulseConstraintSolver
This commit is contained in:
erwin.coumans
2008-07-28 23:15:43 +00:00
parent 3ca977e39f
commit 9cd83c004b
7 changed files with 18 additions and 10 deletions

View File

@@ -46,7 +46,19 @@ subject to the following restrictions:
#define snprintf _snprintf
#endif
#ifdef __CELLOS_LV2__
//provide some dummy stubs for getcwd and getenv on PS3
extern "C" {
int getcwd(char* dir, int maxlen)
{
return 0;
}
int getenv(int bla)
{
return 0;
}
}
#endif
struct btRigidBodyInput