aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_pinentry/pinentry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_pinentry/pinentry.h')
-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))