/[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 3712 by schoenebeck, Wed Jan 8 21:21:58 2020 UTC revision 3713 by schoenebeck, Fri Jan 10 16:02:35 2020 UTC
# Line 27  Line 27 
27  #ifndef __LS_GLOBAL_H__  #ifndef __LS_GLOBAL_H__
28  #define __LS_GLOBAL_H__  #define __LS_GLOBAL_H__
29    
30    // workaround for a bug with older versions of mingw, which would prevent
31    // portable format specifiers like PRId64 from being defined
32    #ifdef __MINGW32__
33    # define __STDC_FORMAT_MACROS 1
34    #endif
35    
36    // C++ header <string> before any C headers intentionally here, due to
37    // format specifiers bug occurring with older versions of mingw (see above)
38    #include <string>
39  #include <stdlib.h>  #include <stdlib.h>
40  #include <stdint.h>  #include <stdint.h>
41  #include <stdio.h>  #include <stdio.h>
42  #include <inttypes.h>  #include <inttypes.h>
43    
 #include <string>  
   
44  typedef std::string String;  typedef std::string String;
45    
46  #if defined(WIN32)  #if defined(WIN32)

Legend:
Removed from v.3712  
changed lines
  Added in v.3713

  ViewVC Help
Powered by ViewVC