Rev 1715: Use define names consistent with header file. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk
Jelmer Vernooij
jelmer at samba.org
Sun Sep 21 14:05:38 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/trunk
------------------------------------------------------------
revno: 1715
revision-id: jelmer at samba.org-20080921130529-vdziwdvh5emt7jof
parent: jelmer at samba.org-20080921130508-32uzn43a0a42n4in
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2008-09-21 15:05:29 +0200
message:
Use define names consistent with header file.
modified:
ra.c ra.pyx-20080313140933-qybkqaxe3m4mcll7-1
=== modified file 'ra.c'
--- a/ra.c 2008-09-20 00:57:42 +0000
+++ b/ra.c 2008-09-21 13:05:29 +0000
@@ -2753,7 +2753,7 @@
#endif
#endif
-#if defined(__APPLE__)
+#if defined(DARWIN)
static PyObject *get_keychain_simple_provider(PyObject* self)
{
AuthProviderObject *auth = PyObject_New(AuthProviderObject, &AuthProvider_Type);
@@ -2777,7 +2777,7 @@
{ "get_windows_ssl_server_trust_provider", (PyCFunction)get_windows_ssl_server_trust_provider, METH_NOARGS, NULL },
#endif
#endif
-#if defined(__APPLE__)
+#if defined(DARWIN)
{ "get_keychain_simple_provider", (PyCFunction)get_keychain_simple_provider, METH_NOARGS, NULL },
#endif
{ "get_username_prompt_provider", (PyCFunction)get_username_prompt_provider, METH_VARARGS, NULL },
More information about the bazaar-commits
mailing list