compile fixes
This commit is contained in:
@@ -335,9 +335,9 @@ int main(int argc, char* argv[])
|
||||
#ifdef PHYSICS_IN_PROCESS_EXAMPLE_BROWSER
|
||||
|
||||
#ifdef __APPLE__
|
||||
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv,1);
|
||||
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnectMainThread(argc,argv);
|
||||
#else
|
||||
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv,1);
|
||||
b3PhysicsClientHandle sm = b3CreateInProcessPhysicsServerAndConnect(argc,argv);
|
||||
#endif //__APPLE__
|
||||
#endif
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ int main(int argc, char* argv[]) {
|
||||
#ifdef _WIN32
|
||||
gets_s(message, 1024);
|
||||
#else
|
||||
gets(message);
|
||||
fgets(message,1024,stdin);
|
||||
#endif
|
||||
if (strcmp(message, "exit") == 0 ||
|
||||
strcmp(message, "quit") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user