explicitly undef __CET__ on masm cpp

Some systems (e.g. OpenBSD) unconditionally set __CET__ in the C
preprocessor.
This commit is contained in:
Brent Cook
2024-03-25 21:42:48 -05:00
parent 3f4b4ac6c5
commit a1d52e94a2

View File

@@ -186,7 +186,7 @@ $CP crypto/compat/ui_openssl_win.c crypto/ui
$GREP -v OPENSSL_ia32cap_P $libcrypto_src/Symbols.list | $GREP '^[A-Za-z0-9_]' > crypto/crypto.sym
fixup_masm() {
cpp -I./crypto -I./include/compat -D_MSC_VER $1 \
cpp -I./crypto -I./include/compat -D_MSC_VER -U__CET__ $1 \
| sed -e 's/^#/;/' \
| sed -e 's/|/OR/g' \
| sed -e 's/~/NOT/g' \