From 3317fa9f458452f6cb8eaf6fc0b212cde5be3218 Mon Sep 17 00:00:00 2001 From: Branimir Karadzic Date: Fri, 26 Oct 2012 14:21:14 -0700 Subject: [PATCH] Added _stricmp and _snprintf compatibilty macros for posix platforms. --- include/bx/commandline.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/bx/commandline.h b/include/bx/commandline.h index d8ee2e6..298c4bc 100644 --- a/include/bx/commandline.h +++ b/include/bx/commandline.h @@ -9,6 +9,12 @@ #include "bx.h" #include +#if BX_PLATFORM_POSIX +# include +# define _stricmp strcasecmp +# define _snprintf snprintf +#endif // BX_PLATFORM_ + namespace bx { class CommandLine