diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-09-12 16:21:29 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-09-12 16:21:29 +0200 |
commit | d403ce66efb9b1150d103bc3b15eeaad312553a8 (patch) | |
tree | a824b6ebb995b7a6794efa7f10060bf9ae74e066 /source/kit/time.h | |
parent | 3466546567bb2a4014c221523bbb04c1860916f5 (diff) | |
download | kit-d403ce66efb9b1150d103bc3b15eeaad312553a8.zip |
Update TODO
Diffstat (limited to 'source/kit/time.h')
-rw-r--r-- | source/kit/time.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source/kit/time.h b/source/kit/time.h index 1b57e08..b1816b0 100644 --- a/source/kit/time.h +++ b/source/kit/time.h @@ -7,6 +7,10 @@ #include <time.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifndef TIME_UTC # define TIME_UTC 1 #endif @@ -15,6 +19,9 @@ # ifndef WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN 1 # endif +# ifndef NOMINMAX +# define NOMINMAX 1 +# endif # include <windows.h> # define KIT_TIMESPEC_IMPL_UNIX_EPOCH_IN_TICKS 116444736000000000ull @@ -40,4 +47,8 @@ static int timespec_get(struct timespec *ts, int base) { } #endif +#ifdef __cplusplus +} +#endif + #endif |