Changeset 8090 for code/branches/mac_osx/src/Orxonox.cc
- Timestamp:
- Mar 18, 2011, 10:00:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/Orxonox.cc
r8084 r8090 53 53 #ifdef ORXONOX_USE_WINMAIN 54 54 INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT) 55 //#elif defined(ORXONOX_PLATFORM_APPLE)56 //int main_mac(int argc, char** argv)55 #elif defined(ORXONOX_PLATFORM_APPLE) 56 int main_mac(int argc, char** argv) 57 57 #else 58 58 int main(int argc, char** argv) 59 59 #endif 60 60 { 61 COUT(0) << "main mac" << std::endl;62 61 try 63 62 { 64 63 #ifndef ORXONOX_USE_WINMAIN 65 64 std::string strCmdLine; 66 for (int i = 1; i < argc; ++i)65 for (int i = 2; i < argc; ++i) 67 66 strCmdLine = strCmdLine + argv[i] + ' '; 68 67 #endif
Note: See TracChangeset
for help on using the changeset viewer.