Skip to content

Commit 0b17343

Browse files
committed
Remove unnecessary stringfy
1 parent 0116f46 commit 0b17343

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

PC/pyconfig.h.in

+7-6
Original file line numberDiff line numberDiff line change
@@ -104,20 +104,21 @@ WIN32 is still required for the locale module.
104104

105105
/* Defined in debug builds */
106106
#ifdef _DEBUG
107-
# define Py_DEBUG
107+
# define Py_DEBUG
108108
#endif
109109

110110
#ifdef Py_GIL_DISABLED
111-
# define _ABIFLAGS_FREETHREADED "t"
111+
# define _ABIFLAGS_FREETHREADED "t"
112112
#else
113-
# define _ABIFLAGS_FREETHREADED ""
113+
# define _ABIFLAGS_FREETHREADED ""
114114
#endif
115115
#ifdef Py_DEBUG
116-
# define _ABIFLAGS_DEBUG "d"
116+
# define _ABIFLAGS_DEBUG "d"
117117
#else
118-
# define _ABIFLAGS_DEBUG ""
118+
# define _ABIFLAGS_DEBUG ""
119119
#endif
120-
#define ABIFLAGS ("" _Py_STRINGIZE(_ABIFLAGS_FREETHREADED) _Py_STRINGIZE(_ABIFLAGS_DEBUG))
120+
/* Set value for `sys.abiflags` */
121+
#define ABIFLAGS ("" _ABIFLAGS_FREETHREADED _ABIFLAGS_DEBUG)
121122

122123
/* Compiler specific defines */
123124

0 commit comments

Comments
 (0)