diff options
author | Araq <rumpf_a@web.de> | 2010-09-17 01:17:51 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2010-09-17 01:17:51 +0200 |
commit | c06569459819a2aba1a287c7f38904c40c5152d4 (patch) | |
tree | 4761c849a674fab08a8e9e0365864a5a8bd7d8c3 /lib/system.nim | |
parent | 9cf4cf02994d55a909c4747b6dcca24bf93543bb (diff) | |
download | Nim-c06569459819a2aba1a287c7f38904c40c5152d4.tar.gz |
standard filter supports multiple line expressions; better amd64 detection for mac os X
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim index 0b2959266..9eabeb2af 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -720,7 +720,7 @@ const proc compileOption*(option: string): bool {. magic: "CompileOption", noSideEffect.} - ## can be used to determine a on|off compile-time option. Example: + ## can be used to determine an on|off compile-time option. Example: ## ## .. code-block:: nimrod ## when compileOption("floatchecks"): @@ -735,7 +735,9 @@ proc compileOption*(option, arg: string): bool {. ## echo "compiled with optimization for size and uses Boehm's GC" include "system/inclrtl" -include "system/cgprocs" + +when not defined(ecmascript): + include "system/cgprocs" proc add *[T](x: var seq[T], y: T) {.magic: "AppendSeqElem", noSideEffect.} proc add *[T](x: var seq[T], y: openArray[T]) {.noSideEffect.} = |