Changeset 7669 for code/branches
- Timestamp:
- Nov 24, 2010, 6:17:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ois_update/src/libraries/core/PathConfig.cc
r7623 r7669 204 204 205 205 // Get user directory 206 # ifdef ORXONOX_PLATFORM_UNIX /* Apple? */206 #ifdef ORXONOX_PLATFORM_UNIX 207 207 char* userDataPathPtr(getenv("HOME")); 208 # else 208 #elif ORXONOX_PLATFORM_APPLE 209 char* userDataPathPtr(getenv("HOME")); 210 #else 209 211 char* userDataPathPtr(getenv("APPDATA")); 210 # 212 #endif 211 213 if (userDataPathPtr == NULL) 212 214 ThrowException(General, "Could not retrieve user data path.");
Note: See TracChangeset
for help on using the changeset viewer.