From 950b5bc1fb98c6e394a9aa05ecdb9dbd4253fd76 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 25 Feb 2024 18:12:24 -0600 Subject: include placeholder cet.h for cpp --- include/compat/cet.h | 13 +++++++++++++ update.sh | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 include/compat/cet.h 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 @@ +/* + * Public domain + * cet.h compatibility shim + */ + +#ifndef LIBCOMPAT_CET_H +#define LIBCOMPAT_CET_H + +#ifndef _MSC_VER +#include_next +#endif + +#endif diff --git a/update.sh b/update.sh index d6a8aa6..e414f0d 100755 --- a/update.sh +++ b/update.sh @@ -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 $1 \ + cpp -I./crypto -I./include/compat $1 \ | sed -e 's/^#/;/' \ | sed -e 's/|/OR/g' \ | sed -e 's/~/NOT/g' \ -- cgit v1.2.3-55-g6feb