aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/sndfile/decoder_sndfile.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-06-15 05:49:46 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-06-15 05:49:46 +0000
commitf196bf0eb34f01b8db35336b82ac31fd5f531ec6 (patch)
tree7579d46c85f9b40c80fe897f10c3d4daa82fac77 /src/plugins/Input/sndfile/decoder_sndfile.h
parent16bb56a600c97ff5e1eb48f66755de8118561aa8 (diff)
downloadqmmp-f196bf0eb34f01b8db35336b82ac31fd5f531ec6.tar.gz
qmmp-f196bf0eb34f01b8db35336b82ac31fd5f531ec6.tar.bz2
qmmp-f196bf0eb34f01b8db35336b82ac31fd5f531ec6.zip
sndfile: fixed unicode support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6453 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/sndfile/decoder_sndfile.h')
-rw-r--r--src/plugins/Input/sndfile/decoder_sndfile.h8
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>