summary refs log tree commit diff stats
path: root/lib/nimbase.h
diff options
context:
space:
mode:
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