# HG changeset patch # User Mike Miller # Date 1463424860 25200 # Node ID 09e1bb792dd976f8f2af11691b0c8e17161e869f # Parent 2e0e4eec0d62475ab9d531b14b09d7327e1e8081 Fix compilation error when building without sndfile * audioread.cc (audio_sub_functions): Conditionally compile when HAVE_SNDFILE is defined. diff -r 2e0e4eec0d62 -r 09e1bb792dd9 libinterp/dldfcn/audioread.cc --- 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\