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:36:11 -0500
commit3cdd43bb8e6a4ec1f1f4be5f5c1b8a2503f4f639 (patch)
tree42602ab32eab299a073e723ac16f7b77b9cf5a8e
parent1ead2d2318bea3fbc7ffb4f339f1cb32cdcf96f2 (diff)
downloadportable-3cdd43bb8e6a4ec1f1f4be5f5c1b8a2503f4f639.tar.gz
portable-3cdd43bb8e6a4ec1f1f4be5f5c1b8a2503f4f639.tar.bz2
portable-3cdd43bb8e6a4ec1f1f4be5f5c1b8a2503f4f639.zip
explicitly undef __CET__ on masm cpp
Some systems (e.g. OpenBSD) unconditionally set __CET__ in the C preprocessor.
Diffstat (limited to '')
-rwxr-xr-xupdate.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 3637116..f7c48ee 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' \