Skip to content

Commit 570b9b3

Browse files
authored
Apply suggestion from @vstinner
1 parent b990992 commit 570b9b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Include/pyport.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// _Py_STDC_VERSION: the version of the C standard.
1212
// gh-160208: The C++ standard allows __STDC_VERSION__ to be defined to an
1313
// arbitrary value, which means we can't use __STDC_VERSION__ on C++.
14-
#if !defined(__cplusplus) && defined(__STDC_VERSION__)
14+
#if defined(__STDC_VERSION__) && !defined(__cplusplus)
1515
# define _Py_STDC_VERSION __STDC_VERSION__
1616
#endif
1717

0 commit comments

Comments
 (0)