diff options
Diffstat (limited to 'include/compat/time.h')
-rw-r--r-- | include/compat/time.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/compat/time.h b/include/compat/time.h index d363d42..2712951 100644 --- a/include/compat/time.h +++ b/include/compat/time.h | |||
@@ -3,14 +3,9 @@ | |||
3 | * sys/time.h compatibility shim | 3 | * sys/time.h compatibility shim |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef LIBCRYPTOCOMPAT_TIME_H | ||
7 | #define LIBCRYPTOCOMPAT_TIME_H | ||
8 | |||
9 | #ifdef _MSC_VER | 6 | #ifdef _MSC_VER |
10 | #include <../include/time.h> | 7 | #include <../include/time.h> |
11 | #define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL) | 8 | #define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL) |
12 | #else | 9 | #else |
13 | #include_next <time.h> | 10 | #include_next <time.h> |
14 | #endif | 11 | #endif |
15 | |||
16 | #endif | ||