Nathaniel J. Smith | 735ae8d | 2018-01-05 23:15:34 -0800 | [diff] [blame] | 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. |
Guido van Rossum | 0ae748d | 1997-02-14 22:58:07 +0000 | [diff] [blame] | 4 | */ |
| 5 | |
Nathaniel J. Smith | 735ae8d | 2018-01-05 23:15:34 -0800 | [diff] [blame] | 6 | #include "setjmp.h" |
Guido van Rossum | d0dc5b0 | 1998-08-25 17:48:25 +0000 | [diff] [blame] | 7 | |
Nathaniel J. Smith | 735ae8d | 2018-01-05 23:15:34 -0800 | [diff] [blame] | 8 | jmp_buf PyFPE_jbuf; |
| 9 | int PyFPE_counter; |
Guido van Rossum | d0dc5b0 | 1998-08-25 17:48:25 +0000 | [diff] [blame] | 10 | |
| 11 | double |
Thomas Wouters | f70ef4f | 2000-07-22 18:47:25 +0000 | [diff] [blame] | 12 | PyFPE_dummy(void *dummy) |
Guido van Rossum | d0dc5b0 | 1998-08-25 17:48:25 +0000 | [diff] [blame] | 13 | { |
Serhiy Storchaka | 598ceae | 2017-11-28 17:56:10 +0200 | [diff] [blame] | 14 | return 1.0; |
Guido van Rossum | d0dc5b0 | 1998-08-25 17:48:25 +0000 | [diff] [blame] | 15 | } |