GCC 4.4.4+ #pragma workarounds
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3691 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
d39ca9ac2f
commit
4fcc97b0a6
2 changed files with 4 additions and 2 deletions
|
@ -108,7 +108,8 @@ typedef enum
|
|||
VF_CL_VIEWANGLES_Y = 35,
|
||||
VF_CL_VIEWANGLES_Z = 36,
|
||||
|
||||
#ifndef MINGW
|
||||
// GCC hates these within if statements
|
||||
#ifdef _MSC_VER
|
||||
#pragma message("FIXME: add cshift")
|
||||
#endif
|
||||
|
||||
|
|
|
@ -235,7 +235,8 @@ static qboolean Shader_EvaluateCondition(char **ptr)
|
|||
else if (!Q_stricmp(token, "normalmap") )
|
||||
conditiontrue = conditiontrue == !!gl_bump.value;
|
||||
|
||||
#ifndef MINGW
|
||||
// GCC hates these within if statements "error: expected '}' before 'else'"
|
||||
#ifdef _MSC_VER
|
||||
#pragma message("shader fixme")
|
||||
#endif
|
||||
else if (!Q_stricmp(token, "diffuse") )
|
||||
|
|
Loading…
Reference in a new issue