summary refs log tree commit diff stats
path: root/lib/std/time_t.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/time_t.nim')
-rw-r--r--lib/std/time_t.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/std/time_t.nim b/lib/std/time_t.nim
index 5fd2752c7..de051b135 100644
--- a/lib/std/time_t.nim
+++ b/lib/std/time_t.nim
@@ -11,13 +11,13 @@ when defined(nimdoc):
   type
     Impl = distinct int64
     Time* = Impl ## \
-      ## Wrapper for ``time_t``. On posix, this is an alias to ``posix.Time``.
+      ## Wrapper for `time_t`. On posix, this is an alias to `posix.Time`.
 elif defined(windows):
   when defined(i386) and defined(gcc):
-    type Time* {.importc: "time_t", header: "<time.h>".} = distinct int32
+    type Time* {.importc: "time_t", header: "<time.h>".} = distinct clong
   else:
     # newest version of Visual C++ defines time_t to be of 64 bits
     type Time* {.importc: "time_t", header: "<time.h>".} = distinct int64
 elif defined(posix):
-  import posix
+  import std/posix
   export posix.Time
\ No newline at end of file