comparison Python/ceval.c @ 31504:2abc52c3d4c2 legacy-trunk

remove support for missing ANSI C header files (limits.h, stddef.h, etc).
author Skip Montanaro <skip@pobox.com>
date Tue, 10 Feb 2004 16:50:21 +0000
parents f57f5ce22c8d
children 545229dfd909
comparison
equal deleted inserted replaced
31503:eb48b2503f20 31504:2abc52c3d4c2
804 if (Py_MakePendingCalls() < 0) { 804 if (Py_MakePendingCalls() < 0) {
805 why = WHY_EXCEPTION; 805 why = WHY_EXCEPTION;
806 goto on_error; 806 goto on_error;
807 } 807 }
808 } 808 }
809 #if !defined(HAVE_SIGNAL_H)
810 /* If we have true signals, the signal handler
811 will call Py_AddPendingCall() so we don't
812 have to call PyErr_CheckSignals(). On the
813 Mac and DOS, alas, we have to call it. */
814 if (PyErr_CheckSignals()) {
815 why = WHY_EXCEPTION;
816 goto on_error;
817 }
818 #endif
819
820 #ifdef WITH_THREAD 809 #ifdef WITH_THREAD
821 if (interpreter_lock) { 810 if (interpreter_lock) {
822 /* Give another thread a chance */ 811 /* Give another thread a chance */
823 812
824 if (PyThreadState_Swap(NULL) != tstate) 813 if (PyThreadState_Swap(NULL) != tstate)