aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index e99adedaa9..b915c4be41 100644
--- a/dir.c
+++ b/dir.c
@@ -1405,11 +1405,11 @@ glob_helper(
if (magical || recursive) {
struct dirent *dp;
DIR *dirp;
-# if DOSISH
+# ifdef DOSISH
char *plainname = 0;
# endif
IF_HAVE_HFS(int hfs_p);
-# if DOSISH
+# ifdef DOSISH
if (cur + 1 == end && (*cur)->type <= ALPHA) {
plainname = join_path(path, pathlen, dirsep, (*cur)->str, strlen((*cur)->str));
if (!plainname) return -1;