Changeset 3753 in orxonox.OLD for orxonox/branches/levelloader/src/lib/util
- Timestamp:
- Apr 7, 2005, 11:14:11 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/levelloader/src/lib/util/resource_manager.cc
r3746 r3753 396 396 bool ResourceManager::isDir(const char* directoryName) 397 397 { 398 399 400 #elif 398 #ifdef __WIN32__ 399 return false; 400 #elif __unix__ 401 401 struct stat status; 402 402 stat(directoryName, &status); … … 405 405 else 406 406 return false; 407 407 #endif 408 408 } 409 409 … … 417 417 bool ResourceManager::isFile(const char* fileName) 418 418 { 419 420 421 #elif 419 #ifdef __WIN32__ 420 return false; 421 #elif __unix__ 422 422 struct stat status; 423 423 stat(fileName, &status); … … 426 426 else 427 427 return false; 428 428 #endif 429 429 } 430 430
Note: See TracChangeset
for help on using the changeset viewer.