mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +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 <cfloat>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QPrinter>
|
#include <QPrinter>
|
||||||
#include <unistd.h>
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
@ -104,11 +103,13 @@
|
|||||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||||
#define JKQTPPATHSEPARATOR_CHAR '\\'
|
#define JKQTPPATHSEPARATOR_CHAR '\\'
|
||||||
#include<windows.h>
|
#include<windows.h>
|
||||||
|
#include <io.h>
|
||||||
#else
|
#else
|
||||||
/** \brief a separator between two directories in a path between \c " quotes */
|
/** \brief a separator between two directories in a path between \c " quotes */
|
||||||
#define JKQTPPATHSEPARATOR_STRING "/"
|
#define JKQTPPATHSEPARATOR_STRING "/"
|
||||||
/** \brief a separator between two directories in a path between \c ' quotes */
|
/** \brief a separator between two directories in a path between \c ' quotes */
|
||||||
#define JKQTPPATHSEPARATOR_CHAR '/'
|
#define JKQTPPATHSEPARATOR_CHAR '/'
|
||||||
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user