From 77428ef82db5a547b2443d6d9632b52bc82f5c19 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Wed, 6 Apr 2011 12:55:05 +0300 Subject: [PATCH] Fix bug with possible start all subsystems before timer becomes valid --- projects/stargazer/stg_timer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/stargazer/stg_timer.cpp b/projects/stargazer/stg_timer.cpp index dd0a04e1..6d2b4b0c 100644 --- a/projects/stargazer/stg_timer.cpp +++ b/projects/stargazer/stg_timer.cpp @@ -54,6 +54,8 @@ switch (START_TIME) stgTime = mktime(<); break; } +#else +stgTime = time(NULL); #endif nonstop = 1; -- 2.44.2