From 0e17dfbdcfe24be57889ae93cddc90843432e6d6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 8 Mar 2012 09:56:00 -0500 Subject: [PATCH] Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again. --- Python/import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/import.c b/Python/import.c index 3fc975460a..127b807840 100644 --- a/Python/import.c +++ b/Python/import.c @@ -127,7 +127,7 @@ int isdir(char *path) { return rv != INVALID_FILE_ATTRIBUTES && rv & FILE_ATTRIBUTE_DIRECTORY; } #else -#if HAVE_STAT +#ifdef HAVE_STAT int isdir(char *path) { struct stat statbuf; return stat(path, &statbuf) == 0 && S_ISDIR(statbuf.st_mode); -- 2.40.0