diff options
author | Guido van Rossum <guido@python.org> | 1998-08-04 22:53:56 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-04 22:53:56 (GMT) |
commit | bcc207484a0f8f27a684e11194e7430c0710f66d (patch) | |
tree | 506ce2d793a619a92e78faa89032878ea4a43461 /Modules/posixmodule.c | |
parent | 1a8791e0b875df8e9428c2d9969f64e5967ac0b4 (diff) | |
download | cpython-bcc207484a0f8f27a684e11194e7430c0710f66d.zip cpython-bcc207484a0f8f27a684e11194e7430c0710f66d.tar.gz cpython-bcc207484a0f8f27a684e11194e7430c0710f66d.tar.bz2 |
Changes for BeOS, QNX and long long, by Chris Herborth.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 91cc3bf..6708df8 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2403,6 +2403,11 @@ static char posix_putenv__doc__[] = "putenv(key, value) -> None\n\ Change or add an environment variable."; +#ifdef __BEOS__ +/* We have putenv(), but not in the headers (as of PR2). - [cjh] */ +int putenv( const char *str ); +#endif + static PyObject * posix_putenv(self, args) PyObject *self; |