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 shuttlebox

On 10/3/07, Emmanuel Dreyfus <manu@...> wrote:
>  Now peek at /usr/include/string.h and check the definition for
>  strtok_r. Is it enclused by #if or #ifdefs?

It was in two places, it was a little more inside the first
if/else/endif but I only included the strtok_r stuff.

#if defined(__STDC__)

#if     defined(__EXTENSIONS__) || defined(_REENTRANT) || \
            (_POSIX_C_SOURCE - 0 >= 199506L)
extern char *strtok_r(char *, const char *, char **);
#endif  /* defined(__EXTENSIONS__) || defined(_REENTRANT) .. */

#else   /* __STDC__ */

#if defined(__EXTENSIONS__) || defined(_REENTRANT) || \
        (_POSIX_C_SOURCE - 0 >= 199506L)
extern char *strtok_r();
#endif  /* defined(__EXTENSIONS__) || defined(_REENTRANT).. */

#endif

-- 
/peter

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.