mirror of
https://github.com/libressl/portable.git
synced 2026-01-17 21:51:17 +01:00
explicitly undef __CET__ on masm cpp
Some systems (e.g. OpenBSD) unconditionally set __CET__ in the C preprocessor.
This commit is contained in:
@@ -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' \
|
||||
|
||||
Reference in New Issue
Block a user