summary refs log tree commit diff stats
path: root/lib/nimbase.h
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-10-03 00:01:48 +0200
committerAraq <rumpf_a@web.de>2018-10-03 00:01:48 +0200
commit9bd23b2d4cc94f6b31d7c45eb9dd20dcb64ccebe (patch)
treea9fc2f00001ec804c3b31809056f00c0c68584af /lib/nimbase.h
parentc92fdb24c8bf78846d26d5488c9e33656ff93e34 (diff)
downloadNim-9bd23b2d4cc94f6b31d7c45eb9dd20dcb64ccebe.tar.gz
nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't know nullptr
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r--lib/nimbase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index 017f0d5f6..c04d378c5 100644
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -280,7 +280,7 @@ namespace USE_NIM_NAMESPACE {
 #    define NIM_FALSE false
 #  endif
 #  define NIM_BOOL bool
-#  define NIM_NIL nullptr
+#  define NIM_NIL 0
 #else
 #  ifdef bool
 #    define NIM_BOOL bool