diff options
author | Brent Cook <busterb@gmail.com> | 2024-02-25 18:12:24 -0600 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-02-25 18:12:24 -0600 |
commit | 950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76 (patch) | |
tree | e3f82b1904163dd19a2f6e5bf71f1abf516b669c | |
parent | 500a1029e95215a2d37f7cdd5dd4090cd0685bd6 (diff) | |
download | portable-950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76.tar.gz portable-950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76.tar.bz2 portable-950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76.zip |
include placeholder cet.h for cpp
-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' \ |