Commit 0e17dfbd authored by Jason R. Coombs's avatar Jason R. Coombs

Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again.

parent 4a242832
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment