/[svn]/libgig/trunk/src/helper.h
ViewVC logotype

Diff of /libgig/trunk/src/helper.h

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

revision 3474 by schoenebeck, Wed Feb 20 16:04:19 2019 UTC revision 3476 by schoenebeck, Wed Feb 20 19:12:49 2019 UTC
# Line 29  Line 29 
29  #include <sstream>  #include <sstream>
30  #include <algorithm>  #include <algorithm>
31    
32  #if defined(WIN32) && !HAVE_CONFIG_H  #if defined(WIN32) && !HAVE_CONFIG_H && !defined(_MSC_VER)
33  # include "../win32/libgig_private.h" // like config.h, automatically generated by Dev-C++  # include "../win32/libgig_private.h" // like config.h, automatically generated by Dev-C++
34  # define PACKAGE "libgig"  # define PACKAGE "libgig"
35  # define VERSION VER_STRING // VER_STRING defined in libgig_private.h  # define VERSION VER_STRING // VER_STRING defined in libgig_private.h
36  #endif // WIN32  #endif // WIN32
37    
38  #if HAVE_CONFIG_H /*&& !HAVE_VASPRINTF*/ && defined(WIN32)  #if (HAVE_CONFIG_H /*&& !HAVE_VASPRINTF*/ && defined(WIN32)) || defined(_MSC_VER)
39  # include <stdarg.h>  # include <stdarg.h>
40  int vasprintf(char** ret, const char* format, va_list arg);  int vasprintf(char** ret, const char* format, va_list arg);
41  #endif  #endif
42    
43    #if defined(_MSC_VER)
44    # if _MSC_VER < 1900
45    #  error versions prior to msvc 2015 have not been tested
46    # else
47    #  include <BaseTsd.h>
48    typedef SSIZE_T ssize_t;
49    # endif
50    #endif
51    
52  #include "RIFF.h"  #include "RIFF.h"
53    
54  // *************** Helper Functions **************  // *************** Helper Functions **************

Legend:
Removed from v.3474  
changed lines
  Added in v.3476

  ViewVC Help
Powered by ViewVC