Commit 6efcb6d 1 parent d757aaf commit 6efcb6d Copy full SHA for 6efcb6d
File tree 2 files changed +14
-18
lines changed
2 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 9
9
#include <locale.h>
10
10
11
11
#if defined(MS_WINDOWS ) || defined(__CYGWIN__ )
12
- #include <windows.h>
13
- #ifdef HAVE_IO_H
14
- #include <io.h>
15
- #endif
16
- #ifdef HAVE_FCNTL_H
17
- #include <fcntl.h>
18
- #endif
12
+ # include <windows.h>
13
+ # ifdef HAVE_IO_H
14
+ # include <io.h>
15
+ # endif
16
+ # ifdef HAVE_FCNTL_H
17
+ # include <fcntl.h>
18
+ # endif
19
19
#endif
20
20
21
21
#ifdef _MSC_VER
22
- #include <crtdbg.h>
22
+ # include <crtdbg.h>
23
+ #endif
24
+
25
+ #ifdef __FreeBSD__
26
+ # include <fenv.h>
23
27
#endif
24
28
25
29
#if defined(MS_WINDOWS )
26
- #define PYTHONHOMEHELP "<prefix>\\python{major}{minor}"
30
+ # define PYTHONHOMEHELP "<prefix>\\python{major}{minor}"
27
31
#else
28
- #define PYTHONHOMEHELP "<prefix>/lib/pythonX.X"
32
+ # define PYTHONHOMEHELP "<prefix>/lib/pythonX.X"
29
33
#endif
30
34
31
35
#define COPYRIGHT \
Original file line number Diff line number Diff line change 1
1
/* Minimal main program -- everything is loaded from the library */
2
2
3
3
#include "Python.h"
4
- #include "internal/pystate.h"
5
- #include <locale.h>
6
-
7
- #ifdef __FreeBSD__
8
- #include <fenv.h>
9
- #endif
10
4
11
5
#ifdef MS_WINDOWS
12
6
int
@@ -15,8 +9,6 @@ wmain(int argc, wchar_t **argv)
15
9
return Py_Main (argc , argv );
16
10
}
17
11
#else
18
-
19
-
20
12
int
21
13
main (int argc , char * * argv )
22
14
{
You can’t perform that action at this time.
0 commit comments