summary refs log tree commit diff stats
path: root/lib/nimbase.h
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/nimbase.h
parent9e5aee62a4c233c870187a19a0479cc8ab7ceeb7 (diff)
downloadNim-c8d270268a89b172cc039a793bc56256dc334dca.tar.gz
bugfixes for .rod files and visual C++
Diffstat (limited to 'lib/nimbase.h')
-rwxr-xr-xlib/nimbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index d42befea7..bc8c3c28c 100755
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -79,10 +79,10 @@ __TINYC__
 
 /* --------------- how int64 constants should be declared: ----------- */
 #if defined(__GNUC__) || defined(__LCC__) || \
-    defined(__POCC__) || defined(__DMC__)
+    defined(__POCC__) || defined(__DMC__) || defined(_MSC_VER)
 #  define IL64(x) x##LL
 #else /* works only without LL */
-#  define IL64(x) x
+#  define IL64(x) ((NI64)x)
 #endif
 
 /* ---------------- casting without correct aliasing rules ----------- */