Browse Source

Tell windows how big time_t is.

svn:r3735
Nick Mathewson 20 years ago
parent
commit
37a478bd78
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/win32/orconfig.h

+ 3 - 0
src/win32/orconfig.h

@@ -174,6 +174,9 @@
 /* The size of a `short', as computed by sizeof. */
 /* The size of a `short', as computed by sizeof. */
 #define SIZEOF_SHORT 2
 #define SIZEOF_SHORT 2
 
 
+/* The size of a `time_t', as computed by sizeof. */
+#define SIZEOF_TIME_T 4
+
 /* The size of a `uint16_t', as computed by sizeof. */
 /* The size of a `uint16_t', as computed by sizeof. */
 #undef SIZEOF_UINT16_T
 #undef SIZEOF_UINT16_T