summaryrefslogtreecommitdiff
path: root/ACE/ace/CDR_Base.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-12-04 15:03:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-12-04 15:03:30 +0000
commit45d50e7467d78d0194ad95a622842ec98c056652 (patch)
tree93e3b4c562221bc3aae9d73e9dae6d79d054f3e3 /ACE/ace/CDR_Base.h
parent0bf3e638bfd7802322192cd0af2421bd72bc8c6a (diff)
downloadATCD-45d50e7467d78d0194ad95a622842ec98c056652.tar.gz
Tue Dec 4 15:03:54 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/CDR_Base.h')
-rw-r--r--ACE/ace/CDR_Base.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/CDR_Base.h b/ACE/ace/CDR_Base.h
index 3507b21c4ae..afd278a5e59 100644
--- a/ACE/ace/CDR_Base.h
+++ b/ACE/ace/CDR_Base.h
@@ -280,14 +280,14 @@ public:
// with Windows, Solaris, AIX, MacOS X and HP-UX (and probably others)
// long double format (8 or 16 bytes). If you need 32-bit Linux to
// inter-operate with 64-bit Linux you will want to define this
- // macro so that "long double" is used. Otherwise, do not define
+ // macro to 0 so that "long double" is used. Otherwise, do not define
// this macro.
-# if defined (ACE_IMPLEMENT_WITH_NATIVE_LONGDOUBLE) || \
- (!defined (linux) && !defined (VXWORKS))
- typedef long double NativeImpl;
-# else
+# if defined (ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE) && \
+ (ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE == 1)
typedef double NativeImpl;
-# endif /* ACE_IMPLEMENT_WITH_NATIVE_LONGDOUBLE || (!linux && !VXWORKS) */
+# else
+ typedef long double NativeImpl;
+# endif /* ACE_CDR_IMPLEMENT_WITH_NATIVE_DOUBLE==1 */
char ld[16];