Pretend macOS to be Linux in KeyValues (#145)
Workaround for FL_Load_Glyph error
This commit is contained in:
parent
3f3431a777
commit
c8920cf1c2
1 changed files with 2 additions and 2 deletions
|
@ -2208,10 +2208,10 @@ bool EvaluateConditional( const char *str )
|
|||
return IsWindows() ^ bNot;
|
||||
|
||||
if ( Q_stristr( str, "$OSX" ) )
|
||||
return IsOSX() ^ bNot;
|
||||
return bNot;
|
||||
|
||||
if ( Q_stristr( str, "$LINUX" ) )
|
||||
return IsLinux() ^ bNot;
|
||||
return (IsLinux() || IsOSX()) ^ bNot;
|
||||
|
||||
if ( Q_stristr( str, "$POSIX" ) )
|
||||
return IsPosix() ^ bNot;
|
||||
|
|
Loading…
Reference in a new issue