Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5137ea9

Browse files
committed
Remove #define main; remove vc40 from PYTHONPATH.
1 parent abed54a commit 5137ea9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

PC/config.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ standard macro MS_COREDLL to find out. If you have an exception
5757
you must define MS_NO_COREDLL (do not test this macro) */
5858
#ifndef MS_NO_COREDLL
5959
#define MS_COREDLL /* Python core is in a DLL */
60-
#define main Py_Main
6160
#ifndef USE_DL_EXPORT
6261
#define USE_DL_IMPORT
6362
#endif /* !USE_DL_EXPORT */
@@ -68,7 +67,7 @@ you must define MS_NO_COREDLL (do not test this macro) */
6867
#else
6968
#define COMPILER "[MSC (Unknown)]"
7069
#endif
71-
#define PYTHONPATH ".\\lib;.\\lib\\win;.\\lib\\test;.\\lib\\tkinter;.\\vc40"
70+
#define PYTHONPATH ".\\lib;.\\lib\\win;.\\lib\\test;.\\lib\\tkinter"
7271
typedef int pid_t;
7372
#define WORD_BIT 32
7473
#pragma warning(disable:4113)

0 commit comments

Comments
 (0)