diff options
| author | June McEnroe <june@causal.agency> | 2026-06-01 14:36:58 -0400 |
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2026-06-01 14:36:58 -0400 |
| commit | dcd11ea62fce539d9a50f41a822853239e05727a (patch) | |
| tree | e54578b730a4719e4bc8a2d20fef267c8db7f22f /include/compat/time.h | |
| parent | Import LibreSSL 3.8.1 (diff) | |
| download | libretls-dcd11ea62fce539d9a50f41a822853239e05727a.tar.gz libretls-dcd11ea62fce539d9a50f41a822853239e05727a.zip | |
Import LibreSSL 3.8.2
Diffstat (limited to '')
| -rw-r--r-- | include/compat/time.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/compat/time.h b/include/compat/time.h index 540807d..2748521 100644 --- a/include/compat/time.h +++ b/include/compat/time.h @@ -3,6 +3,14 @@ * sys/time.h compatibility shim */ +#ifndef SIZEOF_TIME_T +#ifdef SMALL_TIME_T +#define SIZEOF_TIME_T 4 +#else +#define SIZEOF_TIME_T 8 +#endif +#endif + #ifdef _MSC_VER #if _MSC_VER >= 1900 #include <../ucrt/time.h> |