Added compiler directive to include getopt.h on qt versions >= 4.8
This commit is contained in:
parent
aa1d989a90
commit
c1e786f3c5
|
@ -23,6 +23,10 @@
|
|||
|
||||
#include "Runner.h"
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(4, 8, 0)
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(4, 7, 0)
|
||||
#error Use Qt 4.7 or later version
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue