From 48fb43843c7fd3396709c0234e9bb32e18d28c3f Mon Sep 17 00:00:00 2001 From: GhostlyDeath Date: Wed, 16 Jan 2008 14:33:08 +0000 Subject: Updated VC9 project, -setup and -server now build correctly Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1001 --- setup/m_argv.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'setup') 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 +#endif // // M_CheckParm -- cgit v1.2.3