applied patches from #1005

This commit is contained in:
Vadim Pisarevsky
2011-06-13 22:04:28 +00:00
parent 238b94cbf1
commit 23d211bfed
2 changed files with 11 additions and 2 deletions

View File

@@ -42,6 +42,15 @@
#if defined(HAVE_QT)
#include <window_QT.h>
#include <math.h>
#ifdef _WIN32
#include <windows.h>
#define usleep Sleep
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
//Static and global first
static GuiReceiver *guiMainThread = NULL;