Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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

Location:
orxonox/branches/textEngine/src
Files:
2 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
  • orxonox/branches/textEngine/src/orxonox.cc

    r3693 r3703  
    339339}
    340340
     341#ifndef __WIN32__
    341342
    342343#include "list.h"
     
    732733 
    733734}
     735
     736#else /* __WIN32__ */
     737int startBenchmarks()
     738{
     739  PRINTF(1)("Not supported in WIN32 yet\n");
     740}
     741#endif
Note: See TracChangeset for help on using the changeset viewer.