Files
MINGW-packages/mingw-w64-python/0102-_testconsole.c-Fix-casing-path-sep.patch
2023-12-07 08:12:51 +01:00

32 lines
922 B
Diff

From de3bac1cdb2c9679babdcd8125d7b64abec14ee3 Mon Sep 17 00:00:00 2001
From: Long Nguyen <nguyen.long.908132@gmail.com>
Date: Sun, 14 Nov 2021 14:55:35 +0700
Subject: [PATCH 102/N] _testconsole.c: Fix casing & path sep
---
PC/_testconsole.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PC/_testconsole.c b/PC/_testconsole.c
index a830883..52aca33 100644
--- a/PC/_testconsole.c
+++ b/PC/_testconsole.c
@@ -10,7 +10,7 @@
#ifdef MS_WINDOWS
#include "pycore_fileutils.h" // _Py_get_osfhandle()
-#include "..\modules\_io\_iomodule.h"
+#include "../Modules/_io/_iomodule.h"
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -108,7 +108,7 @@ _testconsole_read_output_impl(PyObject *module, PyObject *file)
Py_RETURN_NONE;
}
-#include "clinic\_testconsole.c.h"
+#include "clinic/_testconsole.c.h"
PyMethodDef testconsole_methods[] = {
_TESTCONSOLE_WRITE_INPUT_METHODDEF