From 33f093ae2f9d850dfa4dc3e7b60fba282731f894 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Tue, 24 Jan 2017 06:20:03 +1100 Subject: include/share/compat.h: Only define inline for C Patch-from: lvqcl --- include/share/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/share/compat.h b/include/share/compat.h index 94edbd21..f74a5c1f 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -72,7 +72,7 @@ #define strtoull _strtoui64 #endif -#if defined(_MSC_VER) +#if defined(_MSC_VER) && !defined(__cplusplus) #define inline __inline #endif -- cgit v1.2.1