include time.h for windows struture tm
This commit is contained in:
parent
355c0d8673
commit
75893f0331
|
|
@ -12,6 +12,8 @@
|
||||||
// for Linux
|
// for Linux
|
||||||
#ifdef XDB_LINUX
|
#ifdef XDB_LINUX
|
||||||
#include "sys/time.h"
|
#include "sys/time.h"
|
||||||
|
#elif XDB_WINDOWS
|
||||||
|
#include <time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// @Note: since 2023/10/13 to compatible with the windows system
|
// @Note: since 2023/10/13 to compatible with the windows system
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue