diff options
author | Brent Cook <busterb@gmail.com> | 2024-02-25 18:29:14 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-03-03 15:32:50 -0600 |
commit | 9584fb3e0ad2fa51476f466549ff8bee5ec73bf6 (patch) | |
tree | 44b9367aeb4798b8e69de38217a927804380391a /update.sh | |
parent | 499a33a35dd37da2899d3b55d2ff87d2c56efad9 (diff) | |
download | portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.gz portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.bz2 portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.zip |
define _MSC_VER when preprocessing, add guards
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -186,7 +186,7 @@ $CP crypto/compat/ui_openssl_win.c crypto/ui | |||
186 | $GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym | 186 | $GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym |
187 | 187 | ||
188 | fixup_masm() { | 188 | fixup_masm() { |
189 | cpp -I./crypto -I./include/compat $1 \ | 189 | cpp -I./crypto -I./include/compat -D_MSC_VER $1 \ |
190 | | sed -e 's/^#/;/' \ | 190 | | sed -e 's/^#/;/' \ |
191 | | sed -e 's/|/OR/g' \ | 191 | | sed -e 's/|/OR/g' \ |
192 | | sed -e 's/~/NOT/g' \ | 192 | | sed -e 's/~/NOT/g' \ |