summary refs log tree commit diff stats
path: root/lib/pure/times.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-12-03 17:21:35 +0100
committerAraq <rumpf_a@web.de>2011-12-03 17:21:35 +0100
commitc8d270268a89b172cc039a793bc56256dc334dca (patch)
treecbba9f2a8c9ceaead13b9c4058caf1f28f0d716f /lib/pure/times.nim
parent9e5aee62a4c233c870187a19a0479cc8ab7ceeb7 (diff)
downloadNim-c8d270268a89b172cc039a793bc56256dc334dca.tar.gz
bugfixes for .rod files and visual C++
Diffstat (limited to 'lib/pure/times.nim')
-rwxr-xr-xlib/pure/times.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/times.nim b/lib/pure/times.nim
index 8c5db1735..a4ac59673 100755
--- a/lib/pure/times.nim
+++ b/lib/pure/times.nim
@@ -47,9 +47,9 @@ elif defined(windows):
   
   when defined(vcc):
     # newest version of Visual C++ defines time_t to be of 64 bits
-    type TTimeImpl {.importc: "time_t", header: "<sys/time.h>".} = int64
+    type TTimeImpl {.importc: "time_t", header: "<time.h>".} = int64
   else:
-    type TTimeImpl {.importc: "time_t", header: "<sys/time.h>".} = int32
+    type TTimeImpl {.importc: "time_t", header: "<time.h>".} = int32
   
   type
     TTime* = distinct TTimeImpl