commit | 0e17dfbdcfe24be57889ae93cddc90843432e6d6 | [log] [tgz] |
---|---|---|
author | Jason R. Coombs <jaraco@jaraco.com> | Thu Mar 08 09:56:00 2012 -0500 |
committer | Jason R. Coombs <jaraco@jaraco.com> | Thu Mar 08 09:56:00 2012 -0500 |
tree | 3d1d4ac2f895cb8b9a9cdb795a8ee4c204b1d3bd | |
parent | 4a24283272fcd646dc89ab6ab00c2e919bc5a773 [diff] [blame] |
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
diff --git a/Python/import.c b/Python/import.c index 3fc9754..127b807 100644 --- a/Python/import.c +++ b/Python/import.c
@@ -127,7 +127,7 @@ 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);