include/share/compat.h: Only define inline for C

Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
Erik de Castro Lopo 2017-01-24 06:20:03 +11:00
parent 0c741d5948
commit 33f093ae2f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@
#define strtoull _strtoui64 #define strtoull _strtoui64
#endif #endif
#if defined(_MSC_VER) #if defined(_MSC_VER) && !defined(__cplusplus)
#define inline __inline #define inline __inline
#endif #endif