[omniORB] fix for 12byte long double

Bastian Blank waldi at debian.org
Thu Aug 28 17:33:53 BST 2003


hi folks

this patch prevents omniorb to break ob m68k which have 12byte long
double which is unsupported.

--- omni/include/omniORB4/CORBA_sysdep_auto.h     2003-08-12 15:25:30.000000000 +0200
+++ omni/include/omniORB4/CORBA_sysdep_auto.h   2002-02-18 12:59:12.000000000 +0100
@@ -74,7 +74,7 @@
 #  define _CORBA_LONGLONG_CONST(x) (x##LL)
 #endif

+#if defined(SIZEOF_LONG_DOUBLE) && (SIZEOF_LONG_DOUBLE > 8)
-#if defined(SIZEOF_LONG_DOUBLE) && (((SIZEOF_LONG_DOUBLE == 12) && defined(__i386__)) || (SIZEOF_LONG_DOUBLE == 16))
 #  define HAS_LongDouble
 #  define _CORBA_LONGDOUBLE_DECL long double
 #endif

bastian

-- 
Four thousand throats may be cut in one night by a running man.
		-- Klingon Soldier, "Day of the Dove", stardate unknown



More information about the omniORB-list mailing list