From d6517dbd6e523f3f5207575bf88b5a4e1afab59a Mon Sep 17 00:00:00 2001 From: bcook Date: Fri, 7 Jul 2023 07:44:59 +0000 Subject: [PATCH] fixup for MS compilers --- regress/lib/libcrypto/aead/aeadtest.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 * 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. */ -- 2.20.1