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-02-25 18:29:14 -0600
commit53edbd00c12ee1d27f1b9533933b32781125c758 (patch)
tree007e0fedb8d5b9474c5d8f1fe82d4480bf13666f /update.sh
parent950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76 (diff)
downloadportable-53edbd00c12ee1d27f1b9533933b32781125c758.tar.gz
portable-53edbd00c12ee1d27f1b9533933b32781125c758.tar.bz2
portable-53edbd00c12ee1d27f1b9533933b32781125c758.zip
define _MSC_VER when preprocessing, add guards
Diffstat (limited to '')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index e414f0d..08cac6f 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' \