Changeset 247 for cpp/common/nonstd.h
- Timestamp:
- 11/07/14 17:51:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/nonstd.h
r244 r247 57 57 #endif 58 58 59 #if defined MACOS || defined __ANDROID__ 59 #if defined MACOS || defined __ANDROID__ || defined IPHONE 60 60 #define stricmp(a,b) strcasecmp(a,b) 61 61 #endif … … 86 86 #ifdef LINUX 87 87 #define GET_APP_HOME "./" 88 #define GET_APP_RESOURCES "./" 89 #endif 90 91 #ifdef MACOS 92 #ifdef MACOS_APP_DIR //separate home/resources 93 #include <string> 94 std::string getAppHome(); 95 #define GET_APP_HOME getAppHome() 96 #else //old style 97 #define GET_APP_HOME "./" 98 #endif 88 99 #define GET_APP_RESOURCES "./" 89 100 #endif
Note: See TracChangeset
for help on using the changeset viewer.