diff options
Diffstat (limited to 'ace/OS_NS_errno.h')
-rw-r--r-- | ace/OS_NS_errno.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/OS_NS_errno.h b/ace/OS_NS_errno.h index c4ea9d57a8f..42894742c97 100644 --- a/ace/OS_NS_errno.h +++ b/ace/OS_NS_errno.h @@ -82,8 +82,10 @@ private: #if defined (ACE_HAS_WINCE_BROKEN_ERRNO) # define ACE_ERRNO_TYPE ACE_CE_Errno +# define ACE_ERRNO_GET ACE_CE_Errno::instance ()->operator int() #else # define ACE_ERRNO_TYPE int +# define ACE_ERRNO_GET errno #endif /* ACE_HAS_WINCE_BROKEN_ERRNO */ ACE_END_VERSIONED_NAMESPACE_DECL |