Fix MSVC++ compile error caused by missing round() in math.h

This commit is contained in:
Mark Morschhäuser
2014-03-11 16:10:55 +01:00
parent 6e9f81461a
commit 80da61dcbb
8 changed files with 37 additions and 6 deletions

View File

@@ -2,7 +2,10 @@
#include "pb/serverinfo_user.pb.h"
#include <QPainter>
#include <QSvgRenderer>
#include <math.h>
#include <cmath>
#ifdef _WIN32
#include "round.h"
#endif /* _WIN32 */
#include <QDebug>
QMap<QString, QPixmap> PhasePixmapGenerator::pmCache;