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

@ -5,7 +5,10 @@
#include <QPainter>
#include <QPixmapCache>
#include <QDebug>
#include <math.h>
#include <cmath>
#ifdef _WIN32
#include "round.h"
#endif /* _WIN32 */
PlayerCounter::PlayerCounter(Player *_player, int _id, const QString &_name, int _value, QGraphicsItem *parent)
: AbstractCounter(_player, _id, _name, false, _value, parent)