apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r1070851 - /apr/apr/branches/0.9.x/include/arch/netware/apr_private.h
Date Tue, 15 Feb 2011 11:45:19 GMT
Author: fuankg
Date: Tue Feb 15 11:45:18 2011
New Revision: 1070851

URL: http://svn.apache.org/viewvc?rev=1070851&view=rev
Log:
Remaining part of r663941 backport for NetWare.

Modified:
    apr/apr/branches/0.9.x/include/arch/netware/apr_private.h

Modified: apr/apr/branches/0.9.x/include/arch/netware/apr_private.h
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/include/arch/netware/apr_private.h?rev=1070851&r1=1070850&r2=1070851&view=diff
==============================================================================
--- apr/apr/branches/0.9.x/include/arch/netware/apr_private.h (original)
+++ apr/apr/branches/0.9.x/include/arch/netware/apr_private.h Tue Feb 15 11:45:18 2011
@@ -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



Mime
View raw message