aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_pinentry/pinentry.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-31 05:55:59 +0000
committersaturneric <[email protected]>2024-07-31 05:55:59 +0000
commit2be9cf21aef39a34a807eb29b29eec726ec68f97 (patch)
treeb1c053696132d4754bff72261061cfb84c4365ab /src/m_pinentry/pinentry.h
parentfeat: update copyright info (diff)
downloadModules-2be9cf21aef39a34a807eb29b29eec726ec68f97.tar.gz
Modules-2be9cf21aef39a34a807eb29b29eec726ec68f97.zip
fix: addressing some of the issues identified
Diffstat (limited to '')
-rw-r--r--src/m_pinentry/pinentry.h2
1 files changed, 1 insertions, 1 deletions
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))