mirror of
https://github.com/lifegpc/c-utils.git
synced 2026-07-08 01:30:39 +08:00
Fix bug in time_util::time_ns, add a fixed bit version
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user