Solaris <string.h> does not declare 'strdup' if _XOPEN_SOURCE is
authorBodo Möller <bodo@openssl.org>
Wed, 5 Sep 2001 14:40:05 +0000 (14:40 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 5 Sep 2001 14:40:05 +0000 (14:40 +0000)
commit7ba45bf133b4f1af870b8b0fd87938d377acb5a4
tree234c663a339f175e5e2c172820e200e49493304a
parentd98a4b73664d0331f90da4f9521d7eea5f4567e5
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.)
crypto/engine/enginetest.c