Added compiler directive to include getopt.h on qt versions >= 4.8

This commit is contained in:
Jeremy Brenner 2013-03-15 11:23:50 -05:00
parent aa1d989a90
commit c1e786f3c5

View File

@ -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