aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <busterb@gmail.com>2024-03-25 21:42:48 -0500
committerBrent Cook <busterb@gmail.com>2024-03-27 21:38:42 -0500
commita1d52e94a2ad859a69eec03031c5a2434031ba28 (patch)
tree68b7a2c6faad62dc9642b3c3f5b70a4925471a79
parent3f4b4ac6c545c5e3dedc15bf39c97d50f2fde99b (diff)
downloadportable-a1d52e94a2ad859a69eec03031c5a2434031ba28.tar.gz
portable-a1d52e94a2ad859a69eec03031c5a2434031ba28.tar.bz2
portable-a1d52e94a2ad859a69eec03031c5a2434031ba28.zip
explicitly undef __CET__ on masm cpp
Some systems (e.g. OpenBSD) unconditionally set __CET__ in the C preprocessor.
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 95d852c..2154da1 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 -D_MSC_VER $1 \ 189 cpp -I./crypto -I./include/compat -D_MSC_VER -U__CET__ $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' \