Changeset 7622 for code/branches/ois_update/src/libraries
- Timestamp:
- Nov 6, 2010, 4:50:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/libraries/core/PathConfig.cc
r7571 r7622 90 90 // get executable module 91 91 TCHAR buffer[1024]; 92 if (GetModuleFileName(NULL, buffer, 1024) == 0) 92 if (GetModuleFileName(NULL, buffer, 1024) == 0){ 93 93 ThrowException(General, "Could not retrieve executable path."); 94 94 } 95 95 96 #elif defined(ORXONOX_PLATFORM_APPLE) 96 97 char buffer[1024]; … … 126 127 127 128 executablePath_ = bf::path(buffer); 128 #ifndef ORXONOX_PLATFORM_APPLE129 //#ifndef ORXONOX_PLATFORM_APPLE 129 130 executablePath_ = executablePath_.branch_path(); // remove executable name 130 #endif131 131 //#endif 132 132 133 ///////////////////// 133 134 // SET MODULE PATH // 134 135 ///////////////////// 135 136 136 137 if (bf::exists(executablePath_ / "orxonox_dev_build.keep_me")) 137 138 {
Note: See TracChangeset
for help on using the changeset viewer.