summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_NS_errno.h')
-rw-r--r--ACE/ace/OS_NS_errno.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/ACE/ace/OS_NS_errno.h b/ACE/ace/OS_NS_errno.h
index 0d3233c1b3d..1d3b9683530 100644
--- a/ACE/ace/OS_NS_errno.h
+++ b/ACE/ace/OS_NS_errno.h
@@ -83,11 +83,13 @@ 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()
-#elif defined (ACE_HAS_ANDROID)
-# define ACE_ERRNO_TYPE volatile int
#else
-# define ACE_ERRNO_TYPE int
-# define ACE_ERRNO_GET errno
+# ifndef ACE_ERRNO_TYPE
+# define ACE_ERRNO_TYPE int
+# endif // ACE_ERRNO_TYPE
+# ifndef ACE_ERRNO_GET
+# define ACE_ERRNO_GET errno
+# endif // ACE_ERRNO_GET
#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */
ACE_END_VERSIONED_NAMESPACE_DECL