summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
Diffstat (limited to 'setup')
-rw-r--r--setup/m_argv.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/setup/m_argv.c b/setup/m_argv.c
index fd04631c..ae9ab917 100644
--- a/setup/m_argv.c
+++ b/setup/m_argv.c
@@ -3,6 +3,7 @@
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
+// Copyright(C) 2008 "GhostlyDeath" (ghostlydeath@gmail.com)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -30,8 +31,15 @@
int myargc;
char** myargv;
-
-
+// From doomdef.h -- no need to include it all!
+#ifdef _WIN32
+#define snprintf _snprintf
+#define vsnprintf _vsnprintf
+#define strcasecmp stricmp
+#define strncasecmp strnicmp
+#else
+#include <strings.h>
+#endif
//
// M_CheckParm