16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 19:09:20 +02:00

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

@@ -25,7 +25,7 @@ char endstring[10] = "\n";
std::string filename_date() {
::SYSTEMTIME st;
#ifdef __linux__
#ifdef __unix__
timespec ts;
clock_gettime(CLOCK_REALTIME, &ts);
tm *tms = localtime(&ts.tv_sec);