summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-09-20 16:57:28 +0200
committerAraq <rumpf_a@web.de>2018-09-20 16:58:17 +0200
commit723d838559b26f87363f0530e03803b93e244f45 (patch)
tree211d6ba7ca46fc860140f8fedd780edc9abd763f
parenta19d2f76f65f1ea3efb2d75d8690655abac11781 (diff)
downloadNim-723d838559b26f87363f0530e03803b93e244f45.tar.gz
koch: adapt winrelease to appveyor
-rw-r--r--koch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim
index 34b980912..f63613c97 100644
--- a/koch.nim
+++ b/koch.nim
@@ -367,9 +367,9 @@ proc winRelease*() =
                   "web/upload/download/docs-$1.zip" % VersionAsString
   when true:
     csource("-d:release")
-  when true:
+  when sizeof(pointer) == 4:
     winReleaseArch "32"
-  when true:
+  when sizeof(pointer) == 8:
     winReleaseArch "64"
 
 # -------------- tests --------------------------------------------------------