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
--
/peterMessage
Re: [milter-greylist] milter-greylist 4.0beta3 is available
2007-10-03 by shuttlebox