summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2023-07-07 07:45:00 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2023-07-07 07:45:00 +0000
commitc1a665524ac2ed1089bdac66c77050216abcff4e (patch)
tree2ebc104873679c0cceffd7f8a1ae5d83106e01f0 /regress/lib
parente920794332a64ad1a8a2041525edd62fec38ccb2 (diff)
fixup for MS compilers
Diffstat (limited to 'regress/lib')
-rw-r--r--regress/lib/libcrypto/aead/aeadtest.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/regress/lib/libcrypto/aead/aeadtest.c b/regress/lib/libcrypto/aead/aeadtest.c
index 2c798a29188..4d24a817684 100644
--- a/regress/lib/libcrypto/aead/aeadtest.c
+++ b/regress/lib/libcrypto/aead/aeadtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aeadtest.c,v 1.23 2022/08/20 19:25:14 jsing Exp $ */
+/* $OpenBSD: aeadtest.c,v 1.24 2023/07/07 07:44:59 bcook Exp $ */
/*
* Copyright (c) 2022 Joel Sing <jsing@openbsd.org>
* Copyright (c) 2014, Google Inc.
@@ -48,6 +48,13 @@
#define BUF_MAX 1024
+/* MS defines in global headers, remove it */
+#ifdef _MSC_VER
+#ifdef IN
+#undef IN
+#endif
+#endif
+
/* These are the different types of line that are found in the input file. */
enum {
AEAD = 0, /* name of the AEAD algorithm. */