summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 --------------------------------------------------------