use correct conditional to choose between different DEBUG_THREAD_SELF macros

This commit is contained in:
Paul Davis 2014-12-10 11:07:18 -05:00
parent c06c15596b
commit 635578b30b

View 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()