]> git.stg.codes - stg.git/blobdiff - projects/stargazer/stg_timer.cpp
Fix stglibs compilation errors
[stg.git] / projects / stargazer / stg_timer.cpp
index dd0a04e1a9d249ceae200214b528d1b0a1f60e1f..6d2b4b0cdd245a28a33db648ba631befa64f123a 100644 (file)
@@ -54,6 +54,8 @@ switch (START_TIME)
         stgTime = mktime(&lt);
         break;
     }
+#else
+stgTime = time(NULL);
 #endif
 
 nonstop = 1;