Changeset 3703 in orxonox.OLD for orxonox/branches/textEngine/src/lib
- Timestamp:
- Mar 31, 2005, 10:59:41 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/util/resource_manager.cc
r3681 r3703 396 396 struct stat status; 397 397 stat(directoryName, &status); 398 if (status.st_mode & (S_IFDIR | S_IFLNK)) 398 if (status.st_mode & (S_IFDIR 399 #ifndef __WIN32__ 400 | S_IFLNK 401 #endif 402 )) 399 403 return true; 400 404 else … … 411 415 struct stat status; 412 416 stat(fileName, &status); 413 if (status.st_mode & (S_IFREG | S_IFLNK)) 417 if (status.st_mode & (S_IFREG 418 #ifndef __WIN32__ 419 | S_IFLNK 420 #endif 421 )) 414 422 return true; 415 423 else
Note: See TracChangeset
for help on using the changeset viewer.