X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=libeap%2Fsrc%2Futils%2Fcommon.h;h=2868df79ffcfe0bd15bd9ef609a28bda66ecefa9;hb=d81b9e4605c7bd3da62f3679effe124778592b13;hp=79a394ea590cbd7b7547df770087d6389b59ae5e;hpb=c07ac6aa9f779b83b7189a68e8b3677cb0e35ea7;p=mech_eap.git diff --git a/libeap/src/utils/common.h b/libeap/src/utils/common.h index 79a394e..2868df7 100644 --- a/libeap/src/utils/common.h +++ b/libeap/src/utils/common.h @@ -92,7 +92,9 @@ typedef int socklen_t; #endif /* CONFIG_NATIVE_WINDOWS */ #ifdef _MSC_VER +#ifndef __cplusplus #define inline __inline +#endif #undef vsnprintf #define vsnprintf _vsnprintf