Mercurial > octave
changeset 21712:09e1bb792dd9
Fix compilation error when building without sndfile
* audioread.cc (audio_sub_functions): Conditionally compile when HAVE_SNDFILE
is defined.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Mon, 16 May 2016 11:54:20 -0700 |
parents | 2e0e4eec0d62 |
children | fbe4dd67e867 |
files | libinterp/dldfcn/audioread.cc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/dldfcn/audioread.cc Mon May 16 11:36:05 2016 -0700 +++ b/libinterp/dldfcn/audioread.cc Mon May 16 11:54:20 2016 -0700 @@ -519,6 +519,8 @@ #endif } +#ifdef HAVE_SNDFILE + static void audio_sub_formats (int format) { @@ -541,6 +543,8 @@ } } +#endif + DEFUN_DLD (audioformats, args, , "-*- texinfo -*-\n\ @deftypefn {} {} audioformats ()\n\