aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2023-11-01 20:50:15 -0500
committerBrent Cook <busterb@gmail.com>2023-11-01 20:50:15 -0500
commit1a5be425a9a6720cc367b1c298610a7a41a2fb3d (patch)
tree83b2395eb98309e7d13f69b99946097f1d6790c6 /include
parent18f5064a9d12117f87570e69c4fb923d86e7bd57 (diff)
parent548b3d0485c0ad00c6041670c2192c4b5bd80e66 (diff)
downloadportable-1a5be425a9a6720cc367b1c298610a7a41a2fb3d.tar.gz
portable-1a5be425a9a6720cc367b1c298610a7a41a2fb3d.tar.bz2
portable-1a5be425a9a6720cc367b1c298610a7a41a2fb3d.zip
Land #922, build fixes for various platforms
Diffstat (limited to 'include')
-rw-r--r--include/compat/time.h8
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 @@
3 * sys/time.h compatibility shim 3 * sys/time.h compatibility shim
4 */ 4 */
5 5
6#ifndef SIZEOF_TIME_T
7#ifdef SMALL_TIME_T
8#define SIZEOF_TIME_T 4
9#else
10#define SIZEOF_TIME_T 8
11#endif
12#endif
13
6#ifdef _MSC_VER 14#ifdef _MSC_VER
7#if _MSC_VER >= 1900 15#if _MSC_VER >= 1900
8#include <../ucrt/time.h> 16#include <../ucrt/time.h>