1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Fixed conflict between min/max macros and std::min/max when using GCC >= 4.2.

This commit is contained in:
Scott Ehlert
2011-04-28 01:29:54 -05:00
parent d529bf38f5
commit 85773fe42c
300 changed files with 1041 additions and 1084 deletions

View File

@ -750,7 +750,7 @@ void RunJobWatchApp( char *pCmdLine )
if ( s1 || s2 )
{
// Get rid of the last slash.
s1 = max( s1, s2 );
s1 = MAX( s1, s2 );
s1[0] = 0;
if ( !CreateProcess(