Other (Windows specific) includes for libpbd
authorJohn Emmas <johne53@tiscali.co.uk>
Wed, 17 Jul 2013 06:38:20 +0000 (07:38 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Wed, 17 Jul 2013 06:38:20 +0000 (07:38 +0100)
libs/pbd/pbd/semaphore.h
libs/pbd/resource.cc

index e54063a15a8ff31aefc5dc03909d954c080c6d27..81c4057e6a2d1910bec4edb102598d75d90e3f01 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifdef __APPLE__
 #    include <mach/mach.h>
-#elif defined(_WIN32)
+#elif defined(PLATFORM_WINDOWS)
 #    include <windows.h>
 #else
 #    include <semaphore.h>
index b2988b63141007f03156e18656d9ca216679e043..5ee6f6dc88292f7fcdcfa6292a95287366edab39 100644 (file)
@@ -17,7 +17,7 @@
 
 */
 
-#ifdef WIN32
+#ifdef PLATFORM_WINDOWS
 #include <stdio.h>
 #else
 #include <sys/time.h>