ProtoProxy: Fixed MSVC compilation.
This commit is contained in:
parent
b1ad3322e5
commit
93d4cbb989
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user