Skip to content

Commit 87a7c82

Browse files
author
Victor Stinner
committed
Fix build on Windows
1 parent 10b8cf4 commit 87a7c82

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/_codecsmodule.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ Copyright (c) Corporation for National Research Initiatives.
3838
#define PY_SSIZE_T_CLEAN
3939
#include "Python.h"
4040

41+
#ifdef MS_WINDOWS
42+
#include <windows.h>
43+
#endif
44+
4145
/* --- Registry ----------------------------------------------------------- */
4246

4347
PyDoc_STRVAR(register__doc__,

0 commit comments

Comments
 (0)