diff options
author | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 08:08:46 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2013-07-17 08:08:46 +0100 |
commit | 350ed31655b00f3043e5d723606cdd50099fa91b (patch) | |
tree | 88190e6aa65a8e5668fe84c98dc158a135c4af3a /libs/pbd/pbd/semutils.h | |
parent | 105652ad09fa4898d2fadd791802406c3f1afbec (diff) |
Remaining changes needed for building libpdb on Windows (except for adding the extra JE source modules)
Diffstat (limited to 'libs/pbd/pbd/semutils.h')
-rw-r--r-- | libs/pbd/pbd/semutils.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/pbd/semutils.h b/libs/pbd/pbd/semutils.h index 0e8bed0512..af5c201b85 100644 --- a/libs/pbd/pbd/semutils.h +++ b/libs/pbd/pbd/semutils.h @@ -19,7 +19,7 @@ #ifndef __pbd_semutils_h__ #define __pbd_semutils_h__ -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS #include <windows.h> #else #include <semaphore.h> @@ -29,7 +29,7 @@ namespace PBD { class ProcessSemaphore { private: -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS HANDLE _sem; #elif __APPLE__ @@ -44,7 +44,7 @@ class ProcessSemaphore { ProcessSemaphore (const char* name, int val); ~ProcessSemaphore (); -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS int signal (); int wait (); |