diff options
author | Guido van Rossum <guido@python.org> | 1993-07-28 09:05:47 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-07-28 09:05:47 (GMT) |
commit | a3309960a50dbadfd854299e7420223eb8718a56 (patch) | |
tree | 450507606b30e153bcd20d61c3cc0571a246457d /Modules/posixmodule.c | |
parent | f6da4f62b41db6f50481ae300b4997856638399c (diff) | |
download | cpython-a3309960a50dbadfd854299e7420223eb8718a56.zip cpython-a3309960a50dbadfd854299e7420223eb8718a56.tar.gz cpython-a3309960a50dbadfd854299e7420223eb8718a56.tar.bz2 |
* Added support for X11 modules.
* Makefile: change location of FORMS library.
* posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not)
* Almost all .h files: added CPP magic to avoid duplicate inclusions and
to support inclusion from C++.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index e29be40..d3f3583 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -85,15 +85,15 @@ extern int chdir PROTO((const char *)); extern int rmdir PROTO((const char *)); extern int chmod PROTO((const char *, mode_t)); extern char *getcwd PROTO((char *, int)); /* XXX or size_t? */ -#if 0 +#ifndef MSDOS extern char *strerror PROTO((int)); extern int link PROTO((const char *, const char *)); extern int rename PROTO((const char *, const char *)); extern int stat PROTO((const char *, struct stat *)); extern int unlink PROTO((const char *)); extern int pclose PROTO((FILE *)); -#endif -#endif /* _SEQUENT_ */ +#endif /* !MSDOS */ +#endif /* !_SEQUENT_ */ #ifdef NO_LSTAT #define lstat stat #else |