+++ /dev/null
-/* Minimal main program -- everything is loaded from the library */\r
-\r
-#include "Python.h"\r
-\r
-#ifdef __FreeBSD__\r
-#include <floatingpoint.h>\r
-#endif\r
-\r
-int\r
-main(int argc, char **argv)\r
-{\r
- /* 754 requires that FP exceptions run in "no stop" mode by default,\r
- * and until C vendors implement C99's ways to control FP exceptions,\r
- * Python requires non-stop mode. Alas, some platforms enable FP\r
- * exceptions by default. Here we disable them.\r
- */\r
-#ifdef __FreeBSD__\r
- fp_except_t m;\r
-\r
- m = fpgetmask();\r
- fpsetmask(m & ~FP_X_OFL);\r
-#endif\r
- return Py_Main(argc, argv);\r
-}\r