compile fixes

This commit is contained in:
Erwin Coumans
2017-09-06 10:39:45 -07:00
parent ff0cd65346
commit adafcce830
2 changed files with 3 additions and 3 deletions

View File

@@ -335,9 +335,9 @@ int main(int argc, char* argv[])
#ifdef PHYSICS_IN_PROCESS_EXAMPLE_BROWSER #ifdef PHYSICS_IN_PROCESS_EXAMPLE_BROWSER
#ifdef __APPLE__ #ifdef __APPLE__
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv,1); b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv);
#else #else
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv,1); b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv);
#endif //__APPLE__ #endif //__APPLE__
#endif #endif

View File

@@ -122,7 +122,7 @@ int main(int argc, char* argv[]) {
#ifdef _WIN32 #ifdef _WIN32
gets_s(message, 1024); gets_s(message, 1024);
#else #else
gets(message); fgets(message,1024,stdin);
#endif #endif
if (strcmp(message, "exit") == 0 || if (strcmp(message, "exit") == 0 ||
strcmp(message, "quit") == 0) { strcmp(message, "quit") == 0) {