mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
* macmodule.c: include allobjects.h, not .c
* timemodule.c: the mac has no unistd.h * classobject.c: fixed several cases of return NULL that should be return -1 !!!
This commit is contained in:
parent
e6eefc2231
commit
6d946f98bd
2 changed files with 9 additions and 5 deletions
|
@ -33,6 +33,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|||
#include <signal.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifdef macintosh
|
||||
#define NO_UNISTD
|
||||
#endif
|
||||
|
||||
#ifndef NO_UNISTD
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue