Don't do #warning on MSVS crap compilers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2668 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-09-22 18:16:59 +00:00
parent 415ec86dc9
commit 5e61d7f952
1 changed files with 5 additions and 1 deletions

View File

@ -310,7 +310,9 @@ void Validation_FlushFileList(void)
static void Validation_Server(void)
{
#ifndef _MSC_VER
#warning is allowing the user to turn this off practical?..
#endif
if (!allow_f_server.value)
return;
Cbuf_AddText(va("say server is %s\n", NET_AdrToString(cls.netchan.remote_address)), RESTRICT_LOCAL);
@ -503,7 +505,9 @@ void Validation_Apply_Ruleset(void)
cvar_t *var;
int i;
#warning fixme: the following line should not be needed. ensure this is the case
#ifndef _MSC_VER
#warning fixme: the following line should not be needed. ensure this is the case
#endif
Validation_DelatchRulesets(); //make sure there's no old one
if (!*ruleset.string || !strcmp(ruleset.string, "none"))