The branch, v4-0-test has been updated
       via  421bdd203eab09e560f4919715fa4cc4497e406f (commit)
      from  2a79cebfd99f4048214be65a6c918cc988dc83ed (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 421bdd203eab09e560f4919715fa4cc4497e406f
Author: Jelmer Vernooij <[EMAIL PROTECTED]>
Date:   Tue Jan 29 14:27:27 2008 +0100

    python: Provide PyAPI_DATA macro for older versions of Python (< 2.3).

-----------------------------------------------------------------------

Summary of changes:
 source/scripting/python/pyrpc.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/scripting/python/pyrpc.h b/source/scripting/python/pyrpc.h
index 5390c69..3a5d235 100644
--- a/source/scripting/python/pyrpc.h
+++ b/source/scripting/python/pyrpc.h
@@ -27,3 +27,8 @@
 #define dom_sid28_Type dom_sid_Type
 #define dom_sid2_Check dom_sid_Check
 #define dom_sid28_Check dom_sid28_Check
+
+/* This macro is only provided by Python >= 2.3 */
+#ifndef PyAPI_DATA
+#   define PyAPI_DATA(RTYPE) extern RTYPE
+#endif


-- 
Samba Shared Repository

Reply via email to