diff options
author | GhostlyDeath | 2008-01-16 14:33:08 +0000 |
---|---|---|
committer | GhostlyDeath | 2008-01-16 14:33:08 +0000 |
commit | 48fb43843c7fd3396709c0234e9bb32e18d28c3f (patch) | |
tree | 26ae2be8111a62e5f8daa0d2dd15559d684e6052 /setup | |
parent | dd32de5567784e912f28e735b4415344f1d8feb5 (diff) | |
download | chocolate-doom-48fb43843c7fd3396709c0234e9bb32e18d28c3f.tar.gz chocolate-doom-48fb43843c7fd3396709c0234e9bb32e18d28c3f.tar.bz2 chocolate-doom-48fb43843c7fd3396709c0234e9bb32e18d28c3f.zip |
Updated VC9 project, -setup and -server now build correctly
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1001
Diffstat (limited to 'setup')
-rw-r--r-- | setup/m_argv.c | 12 |
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 |