compile fixes
This commit is contained in:
1 parent
ff0cd65346
commit
adafcce830
2 files changed
+3
-3
No files matched your search
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in new issue
Block a user