Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3703 in orxonox.OLD for orxonox


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
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/configure.ac

    r3702 r3703  
    213213echo "mingw-WINDOWS detected"
    214214
     215CPPFLAGS="-I/usr/include/SDL -I/mingw/include/SDL"
     216
    215217    mingw="yes"
    216218    MSBITFIELDS="-mms-bitfields"
     
    257259    fi
    258260# checking for SDL-headers
    259     AC_CHECK_HEADERS([SDL/SDL.h] ,,
     261    AC_CHECK_HEADERS([SDL.h] ,,
    260262      [AC_MSG_ERROR([cannot find SDL headers]) ])
    261263
  • 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.