mirror of https://github.com/python/cpython
Fixed to work again without USE_GUSI
This commit is contained in:
parent
48b486b054
commit
12e89e42d8
|
@ -68,12 +68,9 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#undef sync
|
#undef sync
|
||||||
int sync(void);
|
int sync(void);
|
||||||
#else
|
#else
|
||||||
#ifdef x__MWERKS__
|
#define mode_t int
|
||||||
#include <unix.h>
|
|
||||||
#else
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Optional routines, for some compiler/runtime combinations */
|
/* Optional routines, for some compiler/runtime combinations */
|
||||||
#if defined(USE_GUSI) || !defined(__MWERKS__)
|
#if defined(USE_GUSI) || !defined(__MWERKS__)
|
||||||
|
|
Loading…
Reference in New Issue