more compat hacks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@10 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
#define ALSA_SUPPORT
|
||||
#endif
|
||||
|
||||
// older ALSA-versions might require this
|
||||
#define ALSA_PCM_NEW_HW_PARAMS_API
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
|
||||
#include "audio_device.h"
|
||||
|
||||
@@ -53,6 +53,7 @@ class pattern;
|
||||
class notePlayHandle;
|
||||
class pixmapButton;
|
||||
class timeLine;
|
||||
class lmmsMainWin;
|
||||
|
||||
|
||||
|
||||
@@ -227,6 +228,9 @@ private:
|
||||
~pianoRoll();
|
||||
|
||||
|
||||
friend class lmmsMainWin;
|
||||
|
||||
|
||||
signals:
|
||||
void positionChanged( const midiTime & );
|
||||
|
||||
|
||||
@@ -171,10 +171,14 @@ typedef int csize;
|
||||
typedef unsigned int csize;
|
||||
|
||||
// some compat-stuff for older qt-versions...
|
||||
#if QT_VERSION < 0x030100
|
||||
#if QT_VERSION < 0x030200
|
||||
|
||||
#define wasCanceled wasCancelled
|
||||
|
||||
#endif
|
||||
|
||||
#if QT_VERSION < 0x030100
|
||||
|
||||
#include <qmutex.h>
|
||||
|
||||
// Qt 3.0.x doesn't have QMutexLocker, so we implement it on our own...
|
||||
|
||||
Reference in New Issue
Block a user