Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 75494:7ec441d4d818 2.7
Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.
| author | Jason R. Coombs <jaraco@jaraco.com> |
|---|---|
| date | Thu, 08 Mar 2012 09:56:00 -0500 |
| parents | 52170802ebd2 |
| children | ad030571e6c0 |
line wrap: on
line diff
--- a/Python/import.c Sun Jan 15 11:45:27 2012 -0500 +++ b/Python/import.c Thu Mar 08 09:56:00 2012 -0500 @@ -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);
