diff options
Diffstat (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h')
| -rw-r--r-- | src/plugins/Input/sndfile/decoder_sndfile.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/Input/sndfile/decoder_sndfile.h b/src/plugins/Input/sndfile/decoder_sndfile.h index 41c1ace57..1d3811971 100644 --- a/src/plugins/Input/sndfile/decoder_sndfile.h +++ b/src/plugins/Input/sndfile/decoder_sndfile.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2009 by Ilya Kotov * + * Copyright (C) 2007-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -21,9 +21,11 @@ #ifndef DECODER_AUDIOFILE_H #define DECODER_AUDIOFILE_H -extern "C"{ +#ifdef Q_OS_WIN +#include <windows.h> +#define ENABLE_SNDFILE_WINDOWS_PROTOTYPES 1 +#endif #include <sndfile.h> -} #include <qmmp/decoder.h> |
