mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
MSVC: Use io.h instead of unistd.h
This commit is contained in:
parent
e5541392d5
commit
76df3202a9
@ -39,7 +39,6 @@
|
||||
#include <cfloat>
|
||||
#include <QComboBox>
|
||||
#include <QPrinter>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
@ -104,11 +103,13 @@
|
||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||
#define JKQTPPATHSEPARATOR_CHAR '\\'
|
||||
#include<windows.h>
|
||||
#include <io.h>
|
||||
#else
|
||||
/** \brief a separator between two directories in a path between \c " quotes */
|
||||
#define JKQTPPATHSEPARATOR_STRING "/"
|
||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||
#define JKQTPPATHSEPARATOR_CHAR '/'
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user