Commit 7aa9ee1c authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Fix build for GCC 4.7

parent 518af127
......@@ -26,6 +26,8 @@
#include "SettingsManager.h"
#include <cerrno>
#include <unistd.h>
#include <QFile>
#include <QFileInfo>
......
......@@ -31,6 +31,7 @@
#endif
#ifdef Q_OS_UNIX
#include <unistd.h>
#define SleepMS( x ) usleep( (x) * 1000 )
#else
#define SleepMS( x ) Sleep( x )
......
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