[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-bugs
Subject:    inconsistent #defines
From:       Hallvard B Furuseth <h.b.furuseth () usit ! uio ! no>
Date:       1998-11-15 0:33:54
[Download RAW message or body]

liblthread/stack.c defines get_stack and free_stack if defined(sunos4),
liblthread/thread.c and slurpd/tsleep.c use them if defined(HAVE_LWP).
I expect these conditionals should be the same, unless it means that
sunos4 has LWP but lacks get_stack/free_stack.

If you keep the `sunos4':
cc or gcc don't define sunos4.  I think you can try someting like
 (defined(sun) || defined(__sun__)) && !(defined(__SVR4) || defined(__svr4__).
sun & co are defined on both sunos4 and solaris, but only the latter
defines __SVR4 & co).

-- 
Hallvard

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic