Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
defined. (Preprocessor symbols such as _POSIX_C_SOURCE or _XOPEN_SOURCE are supposed to disable anything not allowed by the respective specification; I'm not sure why 'strdup' would be considered an outlaw though.)
parent
d98a4b73
Please register or sign in to comment