diff options
author | Giovanni <sinkingsugar@gmail.com> | 2018-09-15 20:06:26 +0900 |
---|---|---|
committer | Giovanni <sinkingsugar@gmail.com> | 2018-09-15 20:10:54 +0900 |
commit | f1b64e4b96bc943d194e2e107b59b1c74cde911e (patch) | |
tree | 444a5b56bd479138bebe27098a5d05a199d188bc /lib | |
parent | 4342b79a3c05fcfb1e6fc97152daa0075b0b9603 (diff) | |
download | Nim-f1b64e4b96bc943d194e2e107b59b1c74cde911e.tar.gz |
improve the compiler option "cppCompileToNamespace", a custom namespace can now be set
Diffstat (limited to 'lib')
-rw-r--r-- | lib/nimbase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h index 507108712..c04d378c5 100644 --- a/lib/nimbase.h +++ b/lib/nimbase.h @@ -268,7 +268,7 @@ __clang__ /* wrap all Nim typedefs into namespace Nim */ #ifdef USE_NIM_NAMESPACE -namespace Nim { +namespace USE_NIM_NAMESPACE { #endif /* bool types (C++ has it): */ |