diff options
author | Guido van Rossum <guido@python.org> | 2001-10-19 01:31:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-10-19 01:31:59 (GMT) |
commit | c524d952da928f745203876f2e67f651c2bc7246 (patch) | |
tree | 59686a72378708c6884596341bdd353d5ac3e4bf /pyconfig.h.in | |
parent | b6c1d5239cfeadd761d2055cc44212f7a6b7e5af (diff) | |
download | cpython-c524d952da928f745203876f2e67f651c2bc7246.zip cpython-c524d952da928f745203876f2e67f651c2bc7246.tar.gz cpython-c524d952da928f745203876f2e67f651c2bc7246.tar.bz2 |
SF patch #460805 by Chris Gonnerman: Support for unsetenv()
This adds unsetenv to posix, and uses it in the __delitem__ method of
os.environ.
(XXX Should we change the preferred name for putenv to setenv, for
consistency?)
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 0edfcb2..7de66af 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -321,6 +321,9 @@ /* The number of bytes in a wchar_t. */ #undef SIZEOF_WCHAR_T +/* Define if you have the _getpty function. */ +#undef HAVE__GETPTY + /* Define if you have the alarm function. */ #undef HAVE_ALARM @@ -423,9 +426,6 @@ /* Define if you have the getpriority function. */ #undef HAVE_GETPRIORITY -/* Define if you have the _getpty function. */ -#undef HAVE__GETPTY - /* Define if you have the getpwent function. */ #undef HAVE_GETPWENT @@ -597,17 +597,20 @@ /* Define if you have the uname function. */ #undef HAVE_UNAME +/* Define if you have the unsetenv function. */ +#undef HAVE_UNSETENV + /* Define if you have the waitpid function. */ #undef HAVE_WAITPID -/* Define if you have the <db_185.h> header file. */ -#undef HAVE_DB_185_H +/* Define if you have the <db.h> header file. */ +#undef HAVE_DB_H /* Define if you have the <db1/ndbm.h> header file. */ #undef HAVE_DB1_NDBM_H -/* Define if you have the <db.h> header file. */ -#undef HAVE_DB_H +/* Define if you have the <db_185.h> header file. */ +#undef HAVE_DB_185_H /* Define if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H |