diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-04-06 21:31:48 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-04-06 21:31:48 +0000 |
commit | 5cdeb1ed19b23c2965085f99ccc45c9aff30c77c (patch) | |
tree | 9ed19ab96d58e5988d43ede60b369664d745c2f0 /ace/Synch.cpp | |
parent | d815b4eaa866a9793804aefc3144f940744f97cb (diff) | |
download | ATCD-5cdeb1ed19b23c2965085f99ccc45c9aff30c77c.tar.gz |
.
Diffstat (limited to 'ace/Synch.cpp')
-rw-r--r-- | ace/Synch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ace/Synch.cpp b/ace/Synch.cpp index 4eb11743ec9..1d2e8421c74 100644 --- a/ace/Synch.cpp +++ b/ace/Synch.cpp @@ -677,10 +677,10 @@ int ACE_Recursive_Thread_Mutex::get_nesting_level (void) { // ACE_TRACE ("ACE_Recursive_Thread_Mutex::get_nesting_level"); -#if defined (ACE_HAS_WINCE) - errno = ENOTSUP; - return -1; // @@ Is this the right value to return? -#elif defined (ACE_WIN32) +#if defined (ACE_HAS_WINCE) || defined (VXWORKS) + ACE_NOTSUP_RETURN (-1); +#elif defined (ACE_HAS_RECURSIVE_MUTEXES) + // This is really a Win32-ism... return this->recursive_mutex_.RecursionCount; #else int nesting_level = 0; |