summaryrefslogtreecommitdiff
path: root/ace/config-macosx-tiger.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2005-11-08 21:29:08 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2005-11-08 21:29:08 +0000
commita6ffe7cd66ce624da086ecc9f6cc6787cffcaf8d (patch)
tree53fc549c8d26e7d124a81a5b40d1677c862248ab /ace/config-macosx-tiger.h
parent1cc7133622dd1e28a807755f9577dfd3c3812ee5 (diff)
downloadATCD-a6ffe7cd66ce624da086ecc9f6cc6787cffcaf8d.tar.gz
Tue Nov 8 15:27:25 2005 William Otte <wotte@dre.vanderbilt.edu>
Diffstat (limited to 'ace/config-macosx-tiger.h')
-rw-r--r--ace/config-macosx-tiger.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ace/config-macosx-tiger.h b/ace/config-macosx-tiger.h
index ee86141aab7..1ae004b4466 100644
--- a/ace/config-macosx-tiger.h
+++ b/ace/config-macosx-tiger.h
@@ -20,8 +20,14 @@
#define ACE_SIZE_T_FORMAT_SPECIFIER ACE_LIB_TEXT ("%lu")
-// Proper size of long double on both G4/G5 is 16
+
+// Size of long double in GCC 3.3 is 8.
+#if (__GNUC__ == 3 && __GNUC_MINOR__ == 3)
+#define ACE_SIZEOF_LONG_DOUBLE 8
+#else // Else, the compiler is GCC4
+// For GCC4, the size is 16.
#define ACE_SIZEOF_LONG_DOUBLE 16
+#endif // GCC 3.3
#if defined (ACE_HAS_PENTIUM)
# undef ACE_HAS_PENTIUM