summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-07-17 07:38:20 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-07-17 07:38:20 +0100
commitc7306f57329ce18dd932341f522418c4b56fd846 (patch)
tree7c98cb3d23671bf2ad4d775a4b2419292d038025 /libs
parente257b79ecd79eedb0103195b5d6b697edc7586d4 (diff)
Other (Windows specific) includes for libpbd
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/pbd/semaphore.h2
-rw-r--r--libs/pbd/resource.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/pbd/pbd/semaphore.h b/libs/pbd/pbd/semaphore.h
index e54063a15a..81c4057e6a 100644
--- a/libs/pbd/pbd/semaphore.h
+++ b/libs/pbd/pbd/semaphore.h
@@ -22,7 +22,7 @@
#ifdef __APPLE__
# include <mach/mach.h>
-#elif defined(_WIN32)
+#elif defined(PLATFORM_WINDOWS)
# include <windows.h>
#else
# include <semaphore.h>
diff --git a/libs/pbd/resource.cc b/libs/pbd/resource.cc
index b2988b6314..5ee6f6dc88 100644
--- a/libs/pbd/resource.cc
+++ b/libs/pbd/resource.cc
@@ -17,7 +17,7 @@
*/
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
#include <stdio.h>
#else
#include <sys/time.h>