Commit 5830cb0b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Fawzi Mohamed

iostool: Fix compilation with C++<11

Change-Id: Id026a5f0223dff84568a2c2f3208a3e6eb5410fa
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 703a93d7
......@@ -62,9 +62,6 @@
#include "MobileDevice.h"
#endif
// avoid utils dependency
#define QTC_OVERRIDE override
static const bool debugGdbServer = false;
static const bool debugAll = false;
static const bool verbose = true;
......
......@@ -39,6 +39,15 @@
#include <unistd.h>
#include <string.h>
// avoid utils dependency
#include <qglobal.h>
#ifdef Q_DECL_OVERRIDE
#define QTC_OVERRIDE Q_DECL_OVERRIDE
#else
#define QTC_OVERRIDE
#endif
namespace Ios {
namespace Internal {
class DevInfoSession;
......
......@@ -60,7 +60,6 @@
#endif
// avoid utils dependency
#define QTC_OVERRIDE override
#define QTC_CHECK(cond) if (cond) {} else { qWarning() << "assert failed " << #cond << " " \
<< __FILE__ << ":" << __LINE__; } do {} while (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment