use correct conditional to choose between different DEBUG_THREAD_SELF macros
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 10 Dec 2014 16:07:18 +0000 (11:07 -0500)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 10 Dec 2014 16:07:18 +0000 (11:07 -0500)
libs/pbd/pbd/debug.h

index 0f09e02d29fb39c54197a392fba7bde90edc81c8..446d730dc2e70a4a63969fa12a3c4fed858ea8dc 100644 (file)
@@ -61,7 +61,7 @@ namespace PBD {
 #define DEBUG_STR(a) /* empty */
 #define DEBUG_STR_APPEND(a,b) /* empty */
 #define DEBUG_ENABLED(b) (0)
-#ifdef PTW32_VERSION
+#ifdef PLATFORM_WINDOWS
 #define DEBUG_THREAD_SELF pthread_self().p
 #else
 #define DEBUG_THREAD_SELF pthread_self()