mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-29 13:39:19 +00:00
use HAVE_* macros for dependencies
This commit is contained in:
@@ -713,6 +713,7 @@ static bool CreateTempFilename( TempFilename_t &info, const char *filenameBase,
|
||||
// Gzip Filename to Filename.gz.
|
||||
static bool gzip_file_compress( const CUtlString &Filename )
|
||||
{
|
||||
#if HAVE_ZLIB
|
||||
bool bRet = false;
|
||||
|
||||
// Try to find a unique temp filename.
|
||||
@@ -758,6 +759,9 @@ static bool gzip_file_compress( const CUtlString &Filename )
|
||||
}
|
||||
|
||||
return bRet;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
static void FixupInvalidPathChars( char *filename )
|
||||
|
||||
Reference in New Issue
Block a user