From: Jason R. Coombs Date: Thu, 8 Mar 2012 14:56:00 +0000 (-0500) Subject: Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again. X-Git-Tag: v2.7.4rc1~984 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e17dfbdcfe24be57889ae93cddc90843432e6d6;p=python Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again. --- 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);