Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 10:43:22 PM (17 years ago)
Author:
rgrieder
Message:
  • tardis box wanted to include "windows.h"… —> fixed
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/misc/Sleep.h

    r708 r709  
    11// hack for the usleep/Sleep problem
    2 #if ORXONOX_PLATFORM == ORXONOX_PLATFORM_WIN32
     2#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
    33#  include <windows.h>
    44#  define usleep(x) Sleep((x)/1000)
    5 #elif ORXONOX_PLATFORM == ORXONOX_PLATFORM_LINUX
     5#else
    66#  include <unistd.h>
    77#endif
Note: See TracChangeset for help on using the changeset viewer.