Skip to content

Commit 1f571bc

Browse files
committed
Fix struct dirent d_type macro test
Credit to Andrew Gunnerson (@chenxiaolong)
1 parent eced23b commit 1f571bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cbits/HsUnix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ char *__hscore_d_name( struct dirent* d )
106106

107107
char __hscore_d_type( struct dirent* d )
108108
{
109-
#ifdef HAVE_DIRENT_D_TYPE
109+
#ifdef HAVE_STRUCT_DIRENT_D_TYPE
110110
return (d->d_type);
111111
#else
112112
return CONST_DT_UNKNOWN;

0 commit comments

Comments
 (0)