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-28 06:26:36 -0500
commit35970684c0819127b582d4659ee05fac124a1f21 (patch)
treecf5d8aff4570437be85d7d5c87ab78db5d8f9601
parent95b74a0b10ccd36e6462778cbf246a25dcf196c4 (diff)
downloadportable-35970684c0819127b582d4659ee05fac124a1f21.tar.gz
portable-35970684c0819127b582d4659ee05fac124a1f21.tar.bz2
portable-35970684c0819127b582d4659ee05fac124a1f21.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 2976ac4..c88851f 100755
--- a/update.sh
+++ b/update.sh
@@ -184,7 +184,7 @@ $CP crypto/compat/ui_openssl_win.c crypto/ui
184$GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym 184$GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym
185 185
186fixup_masm() { 186fixup_masm() {
187 cpp -I./crypto -I./include/compat -D_MSC_VER $1 \ 187 cpp -I./crypto -I./include/compat -D_MSC_VER -U__CET__ $1 \
188 | sed -e 's/^#/;/' \ 188 | sed -e 's/^#/;/' \
189 | sed -e 's/|/OR/g' \ 189 | sed -e 's/|/OR/g' \
190 | sed -e 's/~/NOT/g' \ 190 | sed -e 's/~/NOT/g' \