/[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 1424 by schoenebeck, Sun Oct 14 22:00:17 2007 UTC revision 1792 by persson, Sun Nov 16 19:19:26 2008 UTC
# Line 35  Line 35 
35    
36  typedef std::string String;  typedef std::string String;
37    
38    #if defined(WIN32)
39    #include <windows.h>
40    #define usleep(a) Sleep(a/1000)
41    #define sleep(a) Sleep(a*1000)
42    typedef unsigned int uint;
43    // FIXME: define proper functions which do proper alignement under Win32
44    #define alignedMalloc(a,b) malloc(b)
45    #define alignedFree(a) free(a)
46    #else
47    // needed for usleep under POSIX
48    #include <stdio.h>
49    // for uint
50    #include <sys/types.h>
51    #endif
52    
53    
54  #endif // __LS_GLOBAL_H__  #endif // __LS_GLOBAL_H__

Legend:
Removed from v.1424  
changed lines
  Added in v.1792

  ViewVC Help
Powered by ViewVC