diff options
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/msinttypes/include/stdint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/3rdparty/msinttypes/include/stdint.h b/3rdparty/msinttypes/include/stdint.h index d02608a59..cbb023bf9 100644 --- a/3rdparty/msinttypes/include/stdint.h +++ b/3rdparty/msinttypes/include/stdint.h @@ -47,8 +47,12 @@ // or compiler give many errors like this: // error C2733: second C linkage of overloaded function 'wmemchr' not allowed #ifdef __cplusplus +#if _MSC_VER < 1300 +extern "C++" { +#else extern "C" { #endif +#endif # include <wchar.h> #ifdef __cplusplus } |