Changeset 8091 for code/branches/mac_osx/src/Orxonox.cc
- Timestamp:
- Mar 18, 2011, 10:13:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/Orxonox.cc
r8090 r8091 62 62 { 63 63 #ifndef ORXONOX_USE_WINMAIN 64 65 // On Apples, the kernel supplies a second argument, which we have to circumvent 66 #ifdef ORXONOX_PLATFORM_APPLE 67 # define MAC_ARGC_HACK 2 68 #else 69 # define MAC_ARGC_HACK 1 70 #endif 71 64 72 std::string strCmdLine; 65 for (int i = 2; i < argc; ++i)73 for (int i = MAC_ARGC_HACK; i < argc; ++i) 66 74 strCmdLine = strCmdLine + argv[i] + ' '; 67 75 #endif
Note: See TracChangeset
for help on using the changeset viewer.