MSVC: dirent.h is not available

Maybe we have to use an alternative Windows implementation
This commit is contained in:
Razi Alavizadeh 2018-12-05 01:39:24 +03:30
parent 76df3202a9
commit d160668bc6

View File

@ -41,7 +41,6 @@
#include <QPrinter>
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
@ -110,6 +109,7 @@
/** \brief a separator between two directories in a path between \c ' quotes */
#define JKQTPPATHSEPARATOR_CHAR '/'
#include <unistd.h>
#include <dirent.h>
#endif