diff options
-rw-r--r-- | include/compat/cet.h | 13 | ||||
-rwxr-xr-x | update.sh | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/include/compat/cet.h b/include/compat/cet.h new file mode 100644 index 0000000..95517b0 --- /dev/null +++ b/include/compat/cet.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* | ||
2 | * Public domain | ||
3 | * cet.h compatibility shim | ||
4 | */ | ||
5 | |||
6 | #ifndef LIBCOMPAT_CET_H | ||
7 | #define LIBCOMPAT_CET_H | ||
8 | |||
9 | #ifndef _MSC_VER | ||
10 | #include_next <cet.h> | ||
11 | #endif | ||
12 | |||
13 | #endif | ||
@@ -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 | ||
188 | fixup_masm() { | 188 | fixup_masm() { |
189 | cpp -I./crypto $1 \ | 189 | cpp -I./crypto -I./include/compat $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' \ |