mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 19:52:36 +00:00
nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't know nullptr
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user