/[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 2085 by persson, Sat Jul 4 14:58:34 2009 UTC revision 2086 by persson, Sun Apr 25 12:51:30 2010 UTC
# Line 3  Line 3 
3   *   LinuxSampler - modular, streaming capable sampler                     *   *   LinuxSampler - modular, streaming capable sampler                     *
4   *                                                                         *   *                                                                         *
5   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *   *   Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck   *
6   *   Copyright (C) 2005 - 2007 Christian Schoenebeck                       *   *   Copyright (C) 2005 - 2010 Christian Schoenebeck                       *
7   *                                                                         *   *                                                                         *
8   *   This program is free software; you can redistribute it and/or modify  *   *   This program is free software; you can redistribute it and/or modify  *
9   *   it under the terms of the GNU General Public License as published by  *   *   it under the terms of the GNU General Public License as published by  *
# Line 41  typedef std::string String; Line 41  typedef std::string String;
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)      !defined(__MINGW64) && !defined(__MINGW64_VERSION_MAJOR)
45  #define usleep(a) Sleep(a/1000)  #define usleep(a) Sleep(a/1000)
46  #endif  #endif
47    

Legend:
Removed from v.2085  
changed lines
  Added in v.2086

  ViewVC Help
Powered by ViewVC