diff --git a/libr/magic/apprentice.c b/libr/magic/apprentice.c index 94fdf1cf37..b848a2cfa1 100644 --- a/libr/magic/apprentice.c +++ b/libr/magic/apprentice.c @@ -505,7 +505,7 @@ static int apprentice_load(RMagic *ms, struct r_magic **magicp, ut32 *nmagicp, c struct r_magic_entry *marray; struct stat st; int errs = 0; -#if __UNIX__ +#if !__WINDOWS__ DIR *dir; struct dirent *d; char subfn[MAXPATHLEN];