1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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

(This used to be commit 421bdd203eab09e560f4919715fa4cc4497e406f)
This commit is contained in:
Jelmer Vernooij 2008-01-29 14:27:27 +01:00
parent bcad73a7f7
commit 61379d97cd

View File

@ -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