mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
change __linux__ to __unix__
This commit is contained in:
@@ -32,7 +32,7 @@ http://mozilla.org/MPL/2.0/.
|
||||
#pragma comment (lib, "dbghelp.lib")
|
||||
#pragma comment (lib, "version.lib")
|
||||
|
||||
#ifdef __linux__
|
||||
#ifdef __unix__
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
@@ -540,7 +540,7 @@ eu07_application::init_files() {
|
||||
DeleteFile( "log.txt" );
|
||||
DeleteFile( "errors.txt" );
|
||||
CreateDirectory( "logs", NULL );
|
||||
#elif __linux__
|
||||
#elif __unix__
|
||||
unlink("log.txt");
|
||||
unlink("errors.txt");
|
||||
mkdir("logs", 0755);
|
||||
|
||||
Reference in New Issue
Block a user