diff --git a/myis11/src/IRIS_IS3/IS3Comon.cpp b/myis11/src/IRIS_IS3/IS3Comon.cpp index ee66a59..0f3fa85 100644 --- a/myis11/src/IRIS_IS3/IS3Comon.cpp +++ b/myis11/src/IRIS_IS3/IS3Comon.cpp @@ -1,7 +1,7 @@ #include "IS3Comon.h" #ifdef _WIN32 #include -#include + #elif #include @@ -10,8 +10,8 @@ #define _POSIX_C_SOURCE 199309L #endif #endif - - +#include +#include unsigned long long get_system_uptime_ms() { #ifdef _WIN32 @@ -20,6 +20,7 @@ unsigned long long get_system_uptime_ms() { struct timespec ts; clock_gettime(CLOCK_MONOTONIC, &ts); return (unsigned long long)(ts.tv_sec) * 1000 + ts.tv_nsec / 1000000; + #endif }