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:
Tobias Doerffel
2005-09-28 07:40:40 +00:00
parent 99dfdc3f46
commit 00e9f34b20
10 changed files with 52 additions and 18 deletions

View File

@@ -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"

View File

@@ -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 & );

View File

@@ -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...