Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3703 in orxonox.OLD for orxonox/branches/textEngine/src/lib


Ignore:
Timestamp:
Mar 31, 2005, 10:59:41 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: orxonox compiles under Windows again
@patrick: i had to disable benchMark in orxonox.cc (with #ifndef WIN32) see for yourself

File:
1 edited

Legend:

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

    r3681 r3703  
    396396  struct stat status;
    397397  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                        ))
    399403    return true;
    400404  else
     
    411415  struct stat status;
    412416  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                        ))
    414422    return true;
    415423  else
Note: See TracChangeset for help on using the changeset viewer.