[omniORB] missing HAVE_NAN_H in CORBA_sysdep_trad.h
Bastiaan Bakker
Bastiaan.Bakker@lifeline.nl
Thu, 31 Jan 2002 11:08:09 +0100
This is a multi-part message in MIME format.
------_=_NextPart_001_01C1AA3F.2F5A2CC9
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
=20
A small compilation bug report for omniORB4 snapshot 20020130:
=20
Compiling on platforms where HAVE_ISNANORINF is defined (only SunOS at =
this moment) fails because <nan.h> is not #included because HAVE_NAN_H =
is not #defined.
=20
Patch:
=20
--- include/omniORB4/CORBA_sysdep_trad.h 2002/01/30 16:33:47 =
1.1.1.1
+++ include/omniORB4/CORBA_sysdep_trad.h 2002/01/31 10:06:14
@@ -302,6 +302,7 @@
#elif defined(__sunos__)
# define HAVE_STRTOULL 1
# define HAVE_ISNANORINF
+# define HAVE_NAN_H
# define OMNI_SOCKNAME_SIZE_T size_t
# if __OSVERSION__ =3D=3D 5 && (!defined(__GNUG__) || __GNUG__ < 3)
# define NEED_GETHOSTNAME_PROTOTYPE
Cheers,
=20
Bastiaan Bakker
LifeLine Networks bv
=20
------_=_NextPart_001_01C1AA3F.2F5A2CC9
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D102405909-31012002>A =
small compilation=20
bug report for omniORB4 snapshot 20020130:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D102405909-31012002>Compiling on=20
platforms where HAVE_ISNANORINF is defined (only SunOS at this moment) =
fails=20
because <nan.h> is not #included because HAVE_NAN_H is not=20
#defined.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002>Patch:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D102405909-31012002>---=20
include/omniORB4/CORBA_sysdep_trad.h &=
nbsp;=20
2002/01/30 16:33:47 1.1.1.1<BR>+++=20
include/omniORB4/CORBA_sysdep_trad.h &=
nbsp;=20
2002/01/31 10:06:14<BR>@@ -302,6 +302,7 @@<BR> #elif=20
defined(__sunos__)<BR> # define HAVE_STRTOULL =
1<BR> # =20
define HAVE_ISNANORINF<BR>+# define HAVE_NAN_H<BR> # =
define=20
OMNI_SOCKNAME_SIZE_T size_t<BR> # if __OSVERSION__ =3D=3D 5 =
&&=20
(!defined(__GNUG__) || __GNUG__ < 3)<BR> # =
define=20
NEED_GETHOSTNAME_PROTOTYPE<BR></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002>Cheers,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002></SPAN></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D102405909-31012002>Bastiaan=20
Bakker</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D102405909-31012002>LifeLine Networks=20
bv</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D102405909-31012002> </DIV></SPAN></FONT></BODY></HTML>
------_=_NextPart_001_01C1AA3F.2F5A2CC9--