X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Fsysdir.h;h=0139a8d5cc07e746931ceaf3f6a6cffb3df6f5ec;hb=762383636a99307282c2d93d26c35c046ec24da1;hp=76f9cd8688d9deb5ff39ccfbfc40e0101667e589;hpb=3e447015251ce6dcde843cbed10d9033d5538622;p=chise%2Fxemacs-chise.git diff --git a/src/sysdir.h b/src/sysdir.h index 76f9cd86..0139a8d 100644 --- a/src/sysdir.h +++ b/src/sysdir.h @@ -29,10 +29,11 @@ Boston, MA 02111-1307, USA. */ #ifdef SYSV_SYSTEM_DIR # include +#elif defined (WIN32_NATIVE) +# include +# include "ndir.h" #elif defined (NONSYSTEM_DIR_LIBRARY) # include "ndir.h" -#elif defined (MSDOS) -# include #else # include #endif /* not NONSYSTEM_DIR_LIBRARY */ @@ -58,11 +59,7 @@ Boston, MA 02111-1307, USA. */ Since applying strlen to the name always works, we'll just do that. */ #define NAMLEN(p) strlen (p->d_name) -#ifdef MSDOS -#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0) -#else #define DIRENTRY_NONEMPTY(p) ((p)->d_ino) -#endif /* encapsulation: directory calls */