Staging
v0.5.1
https://github.com/python/cpython
Revision 3acf30de90936fe3714bb62873e2523c0440e652 authored by Miss Islington (bot) on 10 December 2018, 15:41:11 UTC, committed by GitHub on 10 December 2018, 15:41:11 UTC
(cherry picked from commit b6ef6f69a9afc979640a5f9883f799de1364bff7)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 7215e48
Raw File
Tip revision: 3acf30de90936fe3714bb62873e2523c0440e652 authored by Miss Islington (bot) on 10 December 2018, 15:41:11 UTC
bpo-31374: expat doesn't include <pyconfig.h> on Windows (GH-11079)
Tip revision: 3acf30d
posixmodule.h
/* Declarations shared between the different POSIX-related modules */

#ifndef Py_POSIXMODULE_H
#define Py_POSIXMODULE_H
#ifdef __cplusplus
extern "C" {
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#ifndef Py_LIMITED_API
#ifndef MS_WINDOWS
PyAPI_FUNC(PyObject *) _PyLong_FromUid(uid_t);
PyAPI_FUNC(PyObject *) _PyLong_FromGid(gid_t);
PyAPI_FUNC(int) _Py_Uid_Converter(PyObject *, void *);
PyAPI_FUNC(int) _Py_Gid_Converter(PyObject *, void *);
#endif /* MS_WINDOWS */
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_POSIXMODULE_H */
back to top