Explorar el Código

Massaging different compilers...

bkaradzic hace 12 años
padre
commit
eb0cf5d897
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      include/bx/string.h

+ 2 - 0
include/bx/string.h

@@ -191,6 +191,8 @@ namespace bx
 #if BX_COMPILER_MSVC
 #if BX_COMPILER_MSVC
 		int32_t len = ::_vsnwprintf_s(_str, _count*sizeof(wchar_t), _count, _format, _argList);
 		int32_t len = ::_vsnwprintf_s(_str, _count*sizeof(wchar_t), _count, _format, _argList);
 		return -1 == len ? ::_vscwprintf(_format, _argList) : len;
 		return -1 == len ? ::_vscwprintf(_format, _argList) : len;
+#elif defined(__MINGW32__)
+		return ::vsnwprintf(_str, _count, _format, _argList);
 #else
 #else
 		return ::vswprintf(_str, _count, _format, _argList);
 		return ::vswprintf(_str, _count, _format, _argList);
 #endif // BX_COMPILER_MSVC
 #endif // BX_COMPILER_MSVC