summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-22 21:40:12 +0200
committerAraq <rumpf_a@web.de>2014-04-22 21:40:12 +0200
commita146d6b2b9f4206ddb4acd00a0b5c3ed403fa136 (patch)
tree4b0b18f23b5e15d9a26dd493dea60551d6b9cc52
parent9979c3623e872e8cd3952fa2ad9330f236e012d9 (diff)
downloadNim-a146d6b2b9f4206ddb4acd00a0b5c3ed403fa136.tar.gz
building of nimrtl.dll should work again
-rw-r--r--lib/system.nim9
-rw-r--r--lib/system/inclrtl.nim2
2 files changed, 6 insertions, 5 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 4a5d46a7f..ecee7dad7 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -234,6 +234,11 @@ template `>` * (x, y: expr): expr {.immediate.} =
   ## "is greater" operator. This is the same as ``y < x``.
   y < x
 
+const
+  appType* {.magic: "AppType"}: string = ""
+    ## a string that describes the application type. Possible values:
+    ## "console", "gui", "lib".
+
 include "system/inclrtl"
 
 const NoFakeVars* = defined(NimrodVM) ## true if the backend doesn't support \
@@ -940,10 +945,6 @@ const
     ## a string that describes the host CPU. Possible values:
     ## "i386", "alpha", "powerpc", "sparc", "amd64", "mips", "arm".
   
-  appType* {.magic: "AppType"}: string = ""
-    ## a string that describes the application type. Possible values:
-    ## "console", "gui", "lib".
-  
   seqShallowFlag = low(int)
   
 proc compileOption*(option: string): bool {.
diff --git a/lib/system/inclrtl.nim b/lib/system/inclrtl.nim
index 12eb90162..5c82db4da 100644
--- a/lib/system/inclrtl.nim
+++ b/lib/system/inclrtl.nim
@@ -1,7 +1,7 @@
 #
 #
 #            Nimrod's Runtime Library
-#        (c) Copyright 2013 Andreas Rumpf
+#        (c) Copyright 2014 Andreas Rumpf
 #
 #    See the file "copying.txt", included in this
 #    distribution, for details about the copyright.