summary refs log tree commit diff stats
path: root/compiler/condsyms.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-27 23:10:36 +0100
committerAraq <rumpf_a@web.de>2013-12-27 23:10:36 +0100
commit92b8fac94a7243cde785d985db3fd86b6025b079 (patch)
treeedbfdbab6cf496d6a0cfe226957769c3c43d2fa9 /compiler/condsyms.nim
parent706266d8b728b19fde6d69fd6ccdfb65ae7b6a17 (diff)
downloadNim-92b8fac94a7243cde785d985db3fd86b6025b079.tar.gz
case consistency part 4
Diffstat (limited to 'compiler/condsyms.nim')
-rw-r--r--compiler/condsyms.nim8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/condsyms.nim b/compiler/condsyms.nim
index 71dce9529..575cda412 100644
--- a/compiler/condsyms.nim
+++ b/compiler/condsyms.nim
@@ -78,11 +78,11 @@ proc initDefines*() =
   of osMacOSX: 
     defineSymbol("macintosh")
     defineSymbol("unix")
-    DefineSymbol("posix")
+    defineSymbol("posix")
   else: discard
-  defineSymbol("cpu" & $cpu[targetCPU].bit)
-  defineSymbol(normalize(endianToStr[cpu[targetCPU].endian]))
-  defineSymbol(cpu[targetCPU].name)
+  defineSymbol("cpu" & $CPU[targetCPU].bit)
+  defineSymbol(normalize(EndianToStr[CPU[targetCPU].endian]))
+  defineSymbol(CPU[targetCPU].name)
   defineSymbol(platform.os[targetOS].name)
   if platform.OS[targetOS].props.contains(ospLacksThreadVars):
     defineSymbol("emulatedthreadvars")