summaryrefslogtreecommitdiff
path: root/TAO/tao/orbconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/orbconf.h')
-rw-r--r--TAO/tao/orbconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/orbconf.h b/TAO/tao/orbconf.h
index b3ee1074e16..5435e399570 100644
--- a/TAO/tao/orbconf.h
+++ b/TAO/tao/orbconf.h
@@ -58,7 +58,7 @@
#endif
// The number of bytes in an int.
-#if defined (_WIN32) || defined (linux) || defined (ACE_NETBSD) || defined (FreeBSD_2_1) || defined (VXWORKS)
+#if defined (_WIN32) || defined (linux) || defined (ACE_NETBSD) || defined (__FreeBSD__) || defined (VXWORKS)
# define SIZEOF_INT 4
#else // Win16
# define SIZEOF_INT 2
@@ -76,7 +76,7 @@
#endif /* !defined (_WIN32) && !defined (VXWORKS) */
// The number of bytes in a long double.
-#if defined (linux) || defined (ACE_NETBSD) || defined (FreeBSD_2_1)
+#if defined (linux) || defined (ACE_NETBSD) || defined (__FreeBSD__)
# define SIZEOF_LONG_DOUBLE 12
#elif defined (_WIN32) || defined (VXWORKS) || defined (M_UNIX)
# define SIZEOF_LONG_DOUBLE 8