summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-01-18 03:03:16 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-01-18 03:03:16 (GMT)
commit60f42b50d894d3c9798c50e063ae758a1a5987a2 (patch)
tree5a19a8a81cf7ebcd38e46460d0c32c24ff96b6b2 /Objects
parentd2bf3b7ca6f702f54b8e81ea8d194fc116ac6791 (diff)
downloadcpython-60f42b50d894d3c9798c50e063ae758a1a5987a2.zip
cpython-60f42b50d894d3c9798c50e063ae758a1a5987a2.tar.gz
cpython-60f42b50d894d3c9798c50e063ae758a1a5987a2.tar.bz2
Move distributed and duplicated config for stat() and fstat() into pyport.h.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 385d188..7d32879 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -8,26 +8,6 @@
#include <sys/types.h>
#endif /* DONT_HAVE_SYS_TYPES_H */
-/* We expect that fstat exists on most systems.
- It's confirmed on Unix, Mac and Windows.
- If you don't have it, add #define DONT_HAVE_FSTAT to your config.h. */
-#ifndef DONT_HAVE_FSTAT
-#define HAVE_FSTAT
-
-#ifndef DONT_HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
-#ifndef DONT_HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#else
-#ifdef HAVE_STAT_H
-#include <stat.h>
-#endif
-#endif
-
-#endif /* DONT_HAVE_FSTAT */
-
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif