/[svn]/linuxsampler/trunk/src/common/global.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1930 by persson, Sun Dec 14 15:43:18 2008 UTC revision 1931 by persson, Sat Jul 4 14:58:34 2009 UTC
# Line 39  typedef std::string String; Line 39  typedef std::string String;
39  #include <windows.h>  #include <windows.h>
40    
41  // modern MinGW has usleep  // modern MinGW has usleep
42  #if __MINGW32_MAJOR_VERSION < 3 || \  #if (__MINGW32_MAJOR_VERSION < 3 ||                                     \
43      (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 15)       (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION < 15)) && \
44        !defined(__MINGW64)
45  #define usleep(a) Sleep(a/1000)  #define usleep(a) Sleep(a/1000)
46  #endif  #endif
47    

Legend:
Removed from v.1930  
changed lines
  Added in v.1931

  ViewVC Help
Powered by ViewVC