1
0

ProtoProxy: Fixed MSVC compilation.

This commit is contained in:
madmaxoft 2014-03-20 15:21:28 +01:00
parent b1ad3322e5
commit 93d4cbb989

View File

@ -22,6 +22,8 @@
#define ALIGN_8 #define ALIGN_8
#define ALIGN_16 #define ALIGN_16
#define FORMATSTRING(formatIndex, va_argsIndex)
#elif defined(__GNUC__) #elif defined(__GNUC__)
// TODO: Can GCC explicitly mark classes as abstract (no instances can be created)? // TODO: Can GCC explicitly mark classes as abstract (no instances can be created)?
@ -38,7 +40,7 @@
// Some portability macros :) // Some portability macros :)
#define stricmp strcasecmp #define stricmp strcasecmp
#define FORMATSTRING(formatIndex,va_argsIndex) #define FORMATSTRING(formatIndex, va_argsIndex)
#else #else
@ -61,7 +63,7 @@
#define ALIGN_16 #define ALIGN_16
*/ */
#define FORMATSTRING(formatIndex,va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex))) #define FORMATSTRING(formatIndex, va_argsIndex) __attribute__((format (printf, formatIndex, va_argsIndex)))
#endif #endif