1 #ifndef _WIN32_HELPER_INCLUDE
2 #define _WIN32_HELPER_INCLUDE
6 #define inline __inline
10 #define va_copy(d,s) ((d) = (s))
14 #define snprintf c99_snprintf
16 __inline int c99_vsnprintf(char* str, size_t size, const char* format, va_list ap)
21 count = _vsnprintf_s(str, size, _TRUNCATE, format, ap);
23 count = _vscprintf(format, ap);
28 __inline int c99_snprintf(char* str, size_t size, const char* format, ...)
34 count = c99_vsnprintf(str, size, format, ap);