summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_NS_errno.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-09-08 17:36:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-09-08 17:36:56 +0000
commit9b3da05e3acfdf35a1ffb37b3ea9939d3fc47b91 (patch)
tree92405cbe309acb678cf5d88060c859a3ee6adb97 /ACE/ace/OS_NS_errno.h
parent2e63884f2785d6c5d6f6fa44649087895e8d6fb0 (diff)
downloadATCD-9b3da05e3acfdf35a1ffb37b3ea9939d3fc47b91.tar.gz
Thu Sep 8 17:32:48 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/TP_Reactor.h: Typo fixed * ace/Process_Manager.cpp: Layout changes * ace/config-sunos5.5.h: Removed old comment * ace/Signal.h: Doxygen cleanup * ace/OS_NS_errno.inl: Const changes * ace/OS_NS_errno.h: Only define ACE_ERRNO_TYPE when it is not defined yet, that way we can just set it in config-android.h * ace/config-android.h: Cleanup and set various defines needed to get correct runtime behavior * bin/PerlACE/Process_VMS.pm: Chorus support removal * bin/PerlACE/README: Layout changes * include/makeinclude/platform_android.GNU: Further cleanup
Diffstat (limited to 'ACE/ace/OS_NS_errno.h')
-rw-r--r--ACE/ace/OS_NS_errno.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/ACE/ace/OS_NS_errno.h b/ACE/ace/OS_NS_errno.h
index 6bbef2f1056..5df5515ced7 100644
--- a/ACE/ace/OS_NS_errno.h
+++ b/ACE/ace/OS_NS_errno.h
@@ -84,11 +84,9 @@ private:
# define ACE_ERRNO_TYPE ACE_CE_Errno
# define ACE_ERRNO_GET ACE_CE_Errno::instance ()->operator int()
#else
-# if defined (ACE_HAS_VOLATILE_ERRNO)
-# define ACE_ERRNO_TYPE volatile int
-# else
-# define ACE_ERRNO_TYPE int
-# endif /* ACE_HAS_VOLATILE_ERRNO */
+# if !defined (ACE_ERRNO_TYPE)
+# define ACE_ERRNO_TYPE int
+# endif /* !ACE_ERRNO_TYPE */
# define ACE_ERRNO_GET errno
#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */