]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/Python-2.7.10/Modules/python.c
edk2: Remove AppPkg, StdLib, StdLibPrivateInternalFiles
[mirror_edk2.git] / AppPkg / Applications / Python / Python-2.7.10 / Modules / python.c
diff --git a/AppPkg/Applications/Python/Python-2.7.10/Modules/python.c b/AppPkg/Applications/Python/Python-2.7.10/Modules/python.c
deleted file mode 100644 (file)
index a7446e7..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/* 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