Skip to content

Commit

Permalink
OSX: Cross compilation fixes for mythmusic.
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Kendall <mkendall@mythtv.org>
  • Loading branch information
Lawrence Rust authored and Mark Kendall committed Mar 16, 2011
1 parent 7c60905 commit 3860dd2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions mythplugins/mythmusic/mythmusic/cddecoder.h
Expand Up @@ -7,6 +7,7 @@

#if CONFIG_DARWIN
#include <vector>
using std::vector;
#endif

#if defined(__linux__) || defined(__FreeBSD__)
Expand Down
11 changes: 5 additions & 6 deletions mythplugins/mythmusic/mythmusic/visualize.h
Expand Up @@ -13,8 +13,7 @@
#define VISUALIZE_H

// C++ headers
#include <vector>
using namespace std;
#include <QVector>

// MythTV headers
#include <visual.h>
Expand Down Expand Up @@ -66,8 +65,8 @@ class Spectrum : public VisualBase
inline double clamp(double cur, double max, double min);

QColor startColor, targetColor;
vector<QRect> rects;
vector<double> magnitudes;
QVector<QRect> rects;
QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;
Expand Down Expand Up @@ -161,8 +160,8 @@ class Gears : public QGLWidget, public VisualBase

private:
QColor startColor, targetColor;
vector<QRect> rects;
vector<double> magnitudes;
QVector<QRect> rects;
QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;
Expand Down

0 comments on commit 3860dd2

Please sign in to comment.