summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-11-20 21:33:22 +0100
committerAraq <rumpf_a@web.de>2012-11-20 21:33:22 +0100
commitb4ad97a0364c4fa75c90f883aa8e4d4ab8f7567b (patch)
tree21ee26ce39a4720772347a9194e42933d2170cd9 /lib
parentc4b7a3e545d2fce998a91bc2e2f525a9e1984f5c (diff)
downloadNim-b4ad97a0364c4fa75c90f883aa8e4d4ab8f7567b.tar.gz
fixes #256 (I hope)
Diffstat (limited to 'lib')
-rwxr-xr-xlib/nimbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index 74dd931e6..7fb70a60c 100755
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -143,7 +143,7 @@ __clang__
 #define N_NOINLINE_PTR(rettype, name) rettype (*name)
 
 #if defined(__BORLANDC__) || defined(__WATCOMC__) || \
-    defined(__POCC__) || defined(_MSC_VER)
+    defined(__POCC__) || defined(_MSC_VER) || defined(WIN32) || defined(_WIN32)
 /* these compilers have a fastcall so use it: */
 #  define N_NIMCALL(rettype, name) rettype __fastcall name
 #  define N_NIMCALL_PTR(rettype, name) rettype (__fastcall *name)