Browse Source

Pretend macOS to be Linux in KeyValues (#145)

Workaround for FL_Load_Glyph error
pull/146/head
exstrim401 2 years ago committed by GitHub
parent
commit
807eaae850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tier1/KeyValues.cpp

4
tier1/KeyValues.cpp

@ -2208,10 +2208,10 @@ bool EvaluateConditional( const char *str ) @@ -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…
Cancel
Save