Просмотр исходного кода

Added _stricmp and _snprintf compatibilty macros for posix platforms.

Branimir Karadzic 13 лет назад
Родитель
Сommit
3317fa9f45
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      include/bx/commandline.h

+ 6 - 0
include/bx/commandline.h

@@ -9,6 +9,12 @@
 #include "bx.h"
 #include <string.h>
 
+#if BX_PLATFORM_POSIX
+#	include <stdarg.h>
+#	define _stricmp strcasecmp
+#	define _snprintf snprintf
+#endif // BX_PLATFORM_
+
 namespace bx
 {
 	class CommandLine