shithub: puzzles

Download patch

ref: 4f8a4f7d7fb44e978b629c825ec871c7708e87b8
parent: 3cf09c261591b939df53c5357ab471c5b3076d22
author: Simon Tatham <anakin@pobox.com>
date: Wed Nov 29 17:27:09 EST 2017

Mark the 32-bit Windows build as runnable on XP.

By the same method I do it in PuTTY: manually set the Windows
subsystem version id to an earlier one than the default.

--- a/Buildscr
+++ b/Buildscr
@@ -56,7 +56,7 @@
 in puzzles do perl winiss.pl $(Version) gamedesc.txt > puzzles.iss
 ifneq "$(VISUAL_STUDIO)" "yes" then
   in puzzles with clangcl64 do mkdir win64 && Platform=x64 make -f Makefile.clangcl BUILDDIR=win64/ VER=-DVER=$(Version) XFLAGS='-Wwrite-strings -Werror'
-  in puzzles with clangcl32 do mkdir win32 && Platform=x86 make -f Makefile.clangcl BUILDDIR=win32/ VER=-DVER=$(Version) XFLAGS='-Wwrite-strings -Werror'
+  in puzzles with clangcl32 do mkdir win32 && Platform=x86 make -f Makefile.clangcl BUILDDIR=win32/ SUBSYSVER=,5.01 VER=-DVER=$(Version) XFLAGS='-Wwrite-strings -Werror'
   # Code-sign the binaries, if the local bob config provides a script
   # to do so. We assume here that the script accepts an -i option to
   # provide a 'more info' URL, and an optional -n option to provide a