Commit 7f6ef9f6 authored by sletz's avatar sletz
Browse files

Correct debug target on Windows.

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@4726 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 64e4f124
......@@ -115,7 +115,11 @@ int JackDebugClient::Close()
void JackDebugClient::CheckClient(const char* function_name) const
{
#ifdef WIN32
*fStream << "CheckClient : " << function_name << ", calling thread : " << GetCurrentThread() << endl;
#else
*fStream << "CheckClient : " << function_name << ", calling thread : " << pthread_self() << endl;
#endif
if (fIsClosed > 0) {
*fStream << "!!! ERROR !!! : Accessing a client '" << fClientName << "' already closed " << "from " << function_name << endl;
......
......@@ -3,7 +3,7 @@
<Workspace title="jack">
<Project filename="libjack.cbp" />
<Project filename="libjacknet.cbp" />
<Project filename="libjackserver.cbp" active="1" />
<Project filename="libjackserver.cbp" />
<Project filename="jack_portaudio.cbp" />
<Project filename="jack_netdriver.cbp" />
<Project filename="jack_netonedriver.cbp" />
......@@ -13,7 +13,7 @@
<Project filename="jack_load.cbp" />
<Project filename="jack_unload.cbp" />
<Project filename="jack_lsp.cbp" />
<Project filename="jack_latent_client.cbp" />
<Project filename="jack_latent_client.cbp" active="1" />
<Project filename="jack_metro.cbp" />
<Project filename="jack_connect.cbp" />
<Project filename="jack_disconnect.cbp" />
......
......@@ -304,6 +304,10 @@
<Unit filename="..\common\JackAudioPort.cpp" />
<Unit filename="..\common\JackClient.cpp" />
<Unit filename="..\common\JackConnectionManager.cpp" />
<Unit filename="..\common\JackDebugClient.cpp">
<Option target="Win32 Debug 64bits" />
<Option target="Win32 Debug 32bits" />
</Unit>
<Unit filename="..\common\JackEngineControl.cpp" />
<Unit filename="..\common\JackEngineProfiling.cpp">
<Option target="Win32 Profiling" />
......
......@@ -251,6 +251,10 @@
<Unit filename="..\common\JackClient.cpp" />
<Unit filename="..\common\JackConnectionManager.cpp" />
<Unit filename="..\common\JackControlAPI.cpp" />
<Unit filename="..\common\JackDebugClient.cpp">
<Option target="Win32 Debug 64bits" />
<Option target="Win32 Debug 32bits" />
</Unit>
<Unit filename="..\common\JackDriver.cpp" />
<Unit filename="..\common\JackDriverLoader.cpp" />
<Unit filename="..\common\JackEngine.cpp" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment