From 2be9cf21aef39a34a807eb29b29eec726ec68f97 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 31 Jul 2024 07:55:59 +0200 Subject: fix: addressing some of the issues identified --- src/m_pinentry/pinentry.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/m_pinentry/pinentry.h') diff --git a/src/m_pinentry/pinentry.h b/src/m_pinentry/pinentry.h index 5c38c68..c25ae0f 100644 --- a/src/m_pinentry/pinentry.h +++ b/src/m_pinentry/pinentry.h @@ -325,7 +325,7 @@ void pinentry_parse_opts(int argc, char *argv[]); /* Set the optional flag used with getinfo. */ void pinentry_set_flavor_flag(const char *string); -#ifdef WINDOWS +#if defined(_WIN32) || defined(WIN32) /* Windows declares sleep as obsolete, but provides a definition for _sleep but non for the still existing sleep. */ #define sleep(a) _sleep((a)) -- cgit v1.2.3