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