xref: /third_party/python/Python/pyfpe.c (revision 7db96d56)
1/* These variables used to be used when Python was built with --with-fpectl,
2 * but support for that was dropped in 3.7. We continue to define them,
3 * though, because they may be referenced by extensions using the stable ABI.
4 */
5
6#ifdef HAVE_SETJMP_H
7#include <setjmp.h>
8
9jmp_buf PyFPE_jbuf;
10#endif
11
12int PyFPE_counter;
13
14double
15PyFPE_dummy(void *dummy)
16{
17    return 1.0;
18}
19