Skip to content

Commit 0fb5044

Browse files
committed
Revert PC/msvcrtmodule.c
1 parent db19f0e commit 0fb5044

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

PC/clinic/msvcrtmodule.c.h

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PC/msvcrtmodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ msvcrt_ungetwch_impl(PyObject *module, int unicode_char)
415415

416416
#endif /* MS_WINDOWS_DESKTOP */
417417

418-
#ifdef Py_DEBUG
418+
#ifdef _DEBUG
419419
/*[clinic input]
420420
msvcrt.CrtSetReportFile -> HANDLE
421421
@@ -490,7 +490,7 @@ msvcrt_set_error_mode_impl(PyObject *module, int mode)
490490

491491
return res;
492492
}
493-
#endif /* Py_DEBUG */
493+
#endif /* _DEBUG */
494494

495495
#if defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_APP) || defined(MS_WINDOWS_SYSTEM)
496496

@@ -604,7 +604,7 @@ exec_module(PyObject* m)
604604
INSERTINT(m, "SEM_NOGPFAULTERRORBOX", SEM_NOGPFAULTERRORBOX);
605605
INSERTINT(m, "SEM_NOOPENFILEERRORBOX", SEM_NOOPENFILEERRORBOX);
606606
#endif
607-
#ifdef Py_DEBUG
607+
#ifdef _DEBUG
608608
INSERTINT(m, "CRT_WARN", _CRT_WARN);
609609
INSERTINT(m, "CRT_ERROR", _CRT_ERROR);
610610
INSERTINT(m, "CRT_ASSERT", _CRT_ASSERT);

0 commit comments

Comments
 (0)