Browse Source

Fix the _MSC_VER check so it compiles on non-windows compilers. Issue#91

tags/json-c-0.12-20140410
Eric Haszlakiewicz 12 years ago
parent
commit
c62965660b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      json_inttypes.h

+ 1
- 1
json_inttypes.h View File

@@ -4,7 +4,7 @@


#include "json_config.h" #include "json_config.h"


#if defined(_MSC_VER) && _MSC_VER =< 1700
#if defined(_MSC_VER) && _MSC_VER <= 1700


/* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */ /* Anything less than Visual Studio C++ 10 is missing stdint.h and inttypes.h */
typedef __int32 int32_t; typedef __int32 int32_t;


Loading…
Cancel
Save