mirror of
https://github.com/python/cpython.git
synced 2024-12-05 07:43:50 +08:00
The initialization of posix_putenv_garbage should only be done when it
is defined...
This commit is contained in:
parent
d1466b968f
commit
b3d3956e01
@ -4783,5 +4783,7 @@ INITFUNC()
|
||||
|
||||
PyDict_SetItemString(d, "error", PyExc_OSError);
|
||||
|
||||
#ifdef HAVE_PUTENV
|
||||
posix_putenv_garbage = PyDict_New();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user