From f9836ba4fea66d74fc2afddc434a147265a9caa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 8 Aug 2001 10:28:06 +0000 Subject: Put conditional S_ISDIR definition(s) into pyport.h. --- Python/import.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Python/import.c') diff --git a/Python/import.c b/Python/import.c index 8e08164d98..c5234ace61 100644 --- a/Python/import.c +++ b/Python/import.c @@ -28,10 +28,6 @@ #define S_IFMT (S_IFDIR|S_IFCHR|S_IFREG) #endif -#ifndef S_ISDIR -#define S_ISDIR(mode) (((mode) & S_IFMT) == S_IFDIR) -#endif - extern time_t PyOS_GetLastModificationTime(char *, FILE *); /* In getmtime.c */ -- cgit v1.2.1