Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] milter-greylist 4.0beta3 is available

2007-10-03 by Emmanuel Dreyfus

On Wed, Oct 03, 2007 at 05:50:25PM +0200, shuttlebox wrote:
> #if     defined(__EXTENSIONS__) || defined(_REENTRANT) || \
>             (_POSIX_C_SOURCE - 0 >= 199506L)

What do you have in CFLAGS in the Makefile?
Please add some ifdefs to check the values, for instance at the top
of sync.c:

#ifdef __EXTENSIONS__
#warn __EXTENSIONS__ is set
#endif
#ifdef _REENTRANT
#warn REENTRANT is set
#endif
#ifdef _POSIX_C_SOURCE
#warn _POSIX_C_SOURCE is set
#endif

Check the man page of your C preprocessor to discover the value of 
_POSIX_C_SOURCE. With GCC, cpp -dM /dev/null should give it.


-- 
Emmanuel Dreyfus
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.