Fix bug in time_util::time_ns, add a fixed bit version

This commit is contained in:
2025-12-18 16:18:43 +08:00
parent f7e2f6773f
commit 9dfedd6187
2 changed files with 18 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
#if _WIN32
#include <Windows.h>
#endif
#include <stdint.h>
#if __cplusplus
@@ -20,6 +21,7 @@ namespace time_util {
long get_timezone();
time_t timegm(struct tm* tm);
size_t time_ns();
int64_t time_ns64();
int mssleep(unsigned int ms);
}