change __linux__ to __unix__

This commit is contained in:
milek7
2019-03-25 20:54:17 +01:00
committed by milek
parent c09160d8f5
commit 1fba251baf
7 changed files with 13 additions and 8 deletions

View File

@@ -1638,7 +1638,7 @@ TController::TController(bool AI, TDynamicObject *NewControll, bool InitPsyche,
if( WriteLogFlag ) {
#ifdef _WIN32
CreateDirectory( "physicslog", NULL );
#elif __linux__
#elif __unix__
mkdir( "physicslog", 0644 );
#endif
LogFile.open( std::string( "physicslog/" + VehicleName + ".dat" ),