The initialization of posix_putenv_garbage should only be done when it

is defined...
This commit is contained in:
Guido van Rossum 2000-01-31 18:41:26 +00:00
parent d1466b968f
commit b3d3956e01
1 changed files with 2 additions and 0 deletions

View File

@ -4783,5 +4783,7 @@ INITFUNC()
PyDict_SetItemString(d, "error", PyExc_OSError);
#ifdef HAVE_PUTENV
posix_putenv_garbage = PyDict_New();
#endif
}