Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 7, 2005, 11:14:11 PM (19 years ago)
Author:
patrick
Message:

branches/levelloader: now compiling again under linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/levelloader/src/lib/util/resource_manager.cc

    r3746 r3753  
    396396bool ResourceManager::isDir(const char* directoryName)
    397397{
    398         #ifdef __WIN32__
    399                 return false;
    400         #elif
     398#ifdef __WIN32__
     399  return false;
     400#elif __unix__
    401401  struct stat status;
    402402  stat(directoryName, &status);
     
    405405  else
    406406    return false;
    407   #endif
     407#endif
    408408}
    409409
     
    417417bool ResourceManager::isFile(const char* fileName)
    418418{
    419         #ifdef __WIN32__
    420                 return false;
    421         #elif
     419#ifdef __WIN32__
     420  return false;
     421#elif __unix__
    422422  struct stat status;
    423423  stat(fileName, &status);
     
    426426  else
    427427    return false;
    428   #endif
     428#endif
    429429}
    430430
Note: See TracChangeset for help on using the changeset viewer.