Skip to content

Commit 7309318

Browse files
committed
Fix preprocessor handling
1 parent db26669 commit 7309318

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Python/sysmodule.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3578,8 +3578,10 @@ const char *_PySys_ImplName = _PY_IMPL_NAME;
35783578
#define _PY_IMPL_CACHE_TAG NAME "-" MAJOR MINOR
35793579
#endif
35803580
const char *_PySys_ImplCacheTag = _PY_IMPL_CACHE_TAG;
3581-
#ifndef _PY_IMPL_CACHE_TAG
3581+
#ifdef MAJOR
35823582
#undef MAJOR
3583+
#endif
3584+
#ifdef MINOR
35833585
#undef MINOR
35843586
#endif
35853587

0 commit comments

Comments
 (0)