From 8d10e1858035be0fa44e51a3311aacb0e453d348 Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 17 Jan 2011 21:03:39 +0000 Subject: [PATCH] ifdef out a few unix specifics for win32 --- src/hermes.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/hermes.cpp b/src/hermes.cpp index 491668a..9c9ae1f 100644 --- a/src/hermes.cpp +++ b/src/hermes.cpp @@ -221,7 +221,11 @@ main } else { + #ifdef WIN32 + LDEB("New thread created [" + Utils::ulongtostr(nconns) + "] thread_id: " + Utils::ulongtostr(thread.t) + ":" + Utils::ulongtostr(thread.x)); + #else LDEB("New thread created [" + Utils::ulongtostr(nconns) + "] thread_id: " + Utils::ulongtostr(thread)); + #endif //WIN32 pthread_mutex_lock(&childrenlist_mutex); children.push_back(nconns); pthread_mutex_unlock(&childrenlist_mutex);