diff options
author | Guenter Knauf <fuankg@apache.org> | 2011-02-15 11:45:18 +0000 |
---|---|---|
committer | Guenter Knauf <fuankg@apache.org> | 2011-02-15 11:45:18 +0000 |
commit | 2723dde198e5bcf8ddad167e37210a66713e6f02 (patch) | |
tree | b2b95e8178ce9e584c821db742bc4c0601046de8 | |
parent | 82788c6010a207261b43ca916911d72e96f54805 (diff) | |
download | apr-2723dde198e5bcf8ddad167e37210a66713e6f02.tar.gz |
Remaining part of r663941 backport for NetWare.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/0.9.x@1070851 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | include/arch/netware/apr_private.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/arch/netware/apr_private.h b/include/arch/netware/apr_private.h index 0282adfb9..192d4b75c 100644 --- a/include/arch/netware/apr_private.h +++ b/include/arch/netware/apr_private.h @@ -66,6 +66,16 @@ #define HAVE_WRITEV 1 +#define HAVE_GETPASS_R 1 +/* + * check for older NDKs which only export the getpassword() function + * which is identical to getpass_r(). + */ +#include <ndkvers.h> +#if (CURRENT_NDK_THRESHOLD < 709060000) +#define getpass_r getpassword +#endif + /*#define DSO_USE_DLFCN */ #ifdef NW_BUILD_IPV6 |