blob: b22401b243db289404a7ed9da30066b143f80b1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bj,v 1.1.1.1 2003/08/16 14:19:36 taya Exp $
diff -ru ../Orig/mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c ./directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c
--- ../Orig/mozilla/directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c 2003-03-25 22:57:38.000000000 +0900
+++ ./directory/c-sdk/ldap/libraries/libprldap/ldappr-error.c 2003-07-31 23:23:40.000000000 +0900
@@ -222,6 +222,11 @@
#define EDEADLOCK -1
#endif
+#if defined(NETBSD)
+#define ENOTSUP -1
+#define EDEADLOCK -1
+#endif
+
/* XXX: need to verify that the -1 entries are correct (no mapping) */
static struct prldap_errormap_entry prldap_errormap[] = {
{ PR_OUT_OF_MEMORY_ERROR, ENOMEM },
|