_REENTRANT, _KERNEL_THREADS , defined or not ?

From: Wladimir Mutel (mwg_at_fluffy.isd.dp.ua)
Date: 05/22/03

  • Next message: Security Alert: "SSRT2439 Potential Security Vulnerability in xdrmem_getbytes() (rev.4)"
    Date: Thu, 22 May 2003 15:02:51 +0000 (UTC)
    
    

            Hi,

            We have HP-UX 11.00 and try to use Borland Enterprise Server 5.2.1 on
            it. In its include files, BES relies on the fact that _KERNEL_THREADS
            is defined under HP-UX 11.x but not defined under HP-UX 10.x, so their
            configuration sections start from

    // HP-UX 10.20
    #if defined(__hpux) && defined(_REENTRANT) && !defined(_KERNEL_THREADS)
    ...

            and

    // HP-UX 11.00
    #if defined(__hpux) && defined(_KERNEL_THREADS)
    ...

            respectively.

            Unfortunately, in our compilations it seems that it passes section for
            HP-UX 10.20, not for 11.00 . It seems that _KERNEL_THREADS is not
            defined. And the question is whether to define it by -D compiler
            option, or by some other compiler switch, or by installing or
            configuring some addtional software ? Please give an advise. Thank you
            in advance.


  • Next message: Security Alert: "SSRT2439 Potential Security Vulnerability in xdrmem_getbytes() (rev.4)"