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

Skip to content

Commit 06cfe95

Browse files
committed
No need to include windows.h twice
1 parent e018b30 commit 06cfe95

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

Python/sysmodule.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Data members:
2323

2424
#ifdef MS_WINDOWS
2525
#define WIN32_LEAN_AND_MEAN
26-
#include "windows.h"
26+
#include <windows.h>
2727
#endif /* MS_WINDOWS */
2828

2929
#ifdef MS_COREDLL
@@ -36,10 +36,6 @@ extern const char *PyWin_DLLVersionString;
3636
#include <unixlib.h>
3737
#endif
3838

39-
#ifdef MS_WINDOWS
40-
#include <windows.h>
41-
#endif
42-
4339
#ifdef HAVE_LANGINFO_H
4440
#include <locale.h>
4541
#include <langinfo.h>

0 commit comments

Comments
 (0)