1 --- asdcplib/src/KM_fileio.h.orig 2017-02-14 17:17:22.745776193 +0100
2 +++ asdcplib/src/KM_fileio.h 2017-02-14 17:17:29.713782420 +0100
7 -# include "dirent_win.h"
19 --- asdcplib/src/KM_fileio.cpp.orig 2017-02-14 17:16:18.297717750 +0100
20 +++ asdcplib/src/KM_fileio.cpp 2017-02-14 17:17:48.833799420 +0100
23 return RESULT_FILEOPEN;
25 -#if defined(__sun) && defined(__SVR4)
26 +#if (defined(__sun) && defined(__SVR4)) || defined(_WIN32)
32 next_item_name.assign(entry->d_name, strlen(entry->d_name));
34 -#if defined(__sun) && defined(__SVR4)
35 +#if (defined(__sun) && defined(__SVR4)) || defined(_WIN32)
37 stat(entry->d_name, &s);
39 @@ -1506,10 +1506,11 @@
41 next_item_type = DET_FILE;
46 next_item_type = DET_LINK;
51 next_item_type = DET_DEV;