mirror of
https://github.com/python/cpython.git
synced 2024-11-25 02:44:06 +08:00
guard HAVE_LONG_LONG definition to prevent redefinition (#28898)
This commit is contained in:
parent
098f85bb7d
commit
0d5742dec0
@ -37,9 +37,10 @@ Used in: Py_SAFE_DOWNCAST
|
||||
* integral synonyms. Only define the ones we actually need.
|
||||
*/
|
||||
|
||||
// long long is required now. Define HAVE_LONG_LONG unconditionally for
|
||||
// compatibility.
|
||||
// long long is required. Ensure HAVE_LONG_LONG is defined for compatibility.
|
||||
#ifndef HAVE_LONG_LONG
|
||||
#define HAVE_LONG_LONG
|
||||
#endif
|
||||
#ifndef PY_LONG_LONG
|
||||
#define PY_LONG_LONG long long
|
||||
/* If LLONG_MAX is defined in limits.h, use that. */
|
||||
|
Loading…
Reference in New Issue
Block a user