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:
@ -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
|
||||
|
Reference in New Issue
Block a user