aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-02-25 18:29:14 -0600
committerBrent Cook <busterb@gmail.com>2024-03-03 15:32:50 -0600
commit9584fb3e0ad2fa51476f466549ff8bee5ec73bf6 (patch)
tree44b9367aeb4798b8e69de38217a927804380391a /update.sh
parent499a33a35dd37da2899d3b55d2ff87d2c56efad9 (diff)
downloadportable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.gz
portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.tar.bz2
portable-9584fb3e0ad2fa51476f466549ff8bee5ec73bf6.zip
define _MSC_VER when preprocessing, add guards
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 1ee99a1..1a975e1 100755
--- a/update.sh
+++ b/update.sh
@@ -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
188fixup_masm() { 188fixup_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' \