1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00

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

(This used to be commit 421bdd203e)
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