mirror of
https://github.com/anope/anope.git
synced 2026-06-25 17:06:37 +02:00
Use clock_gettime if it is available.
This commit is contained in:
+3
-2
@@ -36,8 +36,9 @@ Anope::string Anope::QuitReason;
|
||||
|
||||
static Anope::string BinaryDir; /* Full path to services bin directory */
|
||||
|
||||
time_t Anope::StartTime = time(NULL);
|
||||
time_t Anope::CurTime = time(NULL);
|
||||
time_t Anope::StartTime = 0;
|
||||
time_t Anope::CurTime = 0;
|
||||
long long Anope::CurTimeNs = 0;
|
||||
|
||||
size_t Anope::CurrentUplink = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user