summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/semaphore.h')
-rw-r--r--libs/pbd/pbd/semaphore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/pbd/pbd/semaphore.h b/libs/pbd/pbd/semaphore.h
index 5f0a2df2c0..caa5eb68c2 100644
--- a/libs/pbd/pbd/semaphore.h
+++ b/libs/pbd/pbd/semaphore.h
@@ -24,6 +24,9 @@
# include <mach/mach.h>
#elif defined(PLATFORM_WINDOWS)
# include <windows.h>
+#ifndef INFINITE
+#define INFINITE 0xffffffffL
+#endif
#else
# include <semaphore.h>
# include <errno.h>