[omniORB] _OSF_SOURCE and omnithread.h problem(s)

Duncan Grisby duncan at grisby.org
Fri Dec 12 12:39:47 GMT 2008


On Wednesday 19 November, Nikola Radovanovic wrote:

> Recently we started using some Tru64 system-specific API (which forces
> using of _OSF_SOURCE define directive) and ran on to some problems
> while compiling omniORB-dependent source(s): on Tru64 <signal.h>
> signal is defined as a macro (leading to that every build fails when
> it comes to compiling of signal method in _OMNITHREAD_NTDLL_ class),
> so we patched omnithread, by undefining signal in omnithread.h:
> 
> #if defined(__osf1__)
>   #if defined(_OSF_SOURCE) && defined(signal)
>   #undef signal
>   #endif
> #endif

Thanks for the patch. I've applied it in cvs, in the omni4_1_develop
branch. Sorry for the delay.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list