X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9a52cec24d0e1ba7dc4e040fa80eec7c058ac603..4ca22a7c19dd0b94609280faf64108b1ea54e415:/projects/stargazer/stg_timer.cpp diff --git a/projects/stargazer/stg_timer.cpp b/projects/stargazer/stg_timer.cpp index dd0a04e1..fff79a39 100644 --- a/projects/stargazer/stg_timer.cpp +++ b/projects/stargazer/stg_timer.cpp @@ -3,7 +3,7 @@ #include #include -#include "common.h" +#include "stg/common.h" static int nonstop; static pthread_t thrStgTimer; @@ -54,6 +54,8 @@ switch (START_TIME) stgTime = mktime(<); break; } +#else +stgTime = time(NULL); #endif nonstop = 1;