This patch restores the original behavior instead of always
falling back to x86 if no MACHINE-type was specified.
!MESSAGE ENABLE_WINSSL=<yes or no> - Enable native Windows SSL support, defaults to yes\r
!MESSAGE GEN_PDB=<yes or no> - Generate Program Database (debug symbols for release build)\r
!MESSAGE DEBUG=<yes or no> - Debug builds\r
-!MESSAGE MACHINE=<x86 or x64> - Target architecture (default x86)
+!MESSAGE MACHINE=<x86 or x64> - Target architecture (default x64 on AMD64, x86 on others)
!ERROR please choose a valid mode\r
\r
!ENDIF\r
!ENDIF\r
\r
# default options\r
-!IFNDEF MACHINE
-MACHINE = x86
+!IFNDEF MACHINE\r
+!IF "$(PROCESSOR_ARCHITECTURE)"=="AMD64"\r
+MACHINE = x64\r
+!ELSE
+MACHINE = x86\r
+!ENDIF
!ENDIF
!IFNDEF ENABLE_IDN\r