X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9a52cec24d0e1ba7dc4e040fa80eec7c058ac603..7e2a4802f98a1e22841be0ed47f3db773a5d6070:/projects/stargazer/stg_timer.cpp?ds=inline 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;