aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/compat/cet.h8
-rwxr-xr-xupdate.sh2
2 files changed, 8 insertions, 2 deletions
diff --git a/include/compat/cet.h b/include/compat/cet.h
index 95517b0..bb845de 100644
--- a/include/compat/cet.h
+++ b/include/compat/cet.h
@@ -7,7 +7,13 @@
7#define LIBCOMPAT_CET_H 7#define LIBCOMPAT_CET_H
8 8
9#ifndef _MSC_VER 9#ifndef _MSC_VER
10#include_next <cet.h> 10
11#ifdef __CET__
12# include_next <cet.h>
13#else
14# define _CET_ENDBR
15#endif
16
11#endif 17#endif
12 18
13#endif 19#endif
diff --git a/update.sh b/update.sh
index e414f0d..08cac6f 100755
--- a/update.sh
+++ b/update.sh
@@ -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
188fixup_masm() { 188fixup_masm() {
189 cpp -I./crypto -I./include/compat $1 \ 189 cpp -I./crypto -I./include/compat -D_MSC_VER $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' \