AudioFileFlac: allow compilation withoug FLAC support

Compilation of AudioFileFlac source files failed when there's been
no FLAC support on the system. Fix this by adding according #ifdef's.
This commit is contained in:
Tobias Doerffel
2009-08-28 23:56:15 +02:00
parent ee63a13f2d
commit b4526ec1b4
2 changed files with 10 additions and 1 deletions

View File

@@ -25,6 +25,8 @@
#include "AudioFileFlac.h"
#ifdef LMMS_HAVE_FLAC
#include <QtDebug>
#include "lmms_basics.h"
@@ -122,4 +124,6 @@ AudioFileFlac::~AudioFileFlac()
finishEncoding();
}
#endif
/* vim: set tw=0 noexpandtab: */