From 2e4c0f3da3658a8d25184e25ef13653da7899516 Mon Sep 17 00:00:00 2001 From: Marc Joliet Date: Tue, 17 Apr 2012 01:14:11 +0200 Subject: [PATCH] compile_msndfile: fix regression on Unix platforms. I obviously am to tired right now. Recent changes I made broke compile_msndfile.m on Unix, because HAVE_STDINT_H was not being defined. --- compile_msndfile.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compile_msndfile.m b/compile_msndfile.m index 1c8c183..58ae578 100644 --- a/compile_msndfile.m +++ b/compile_msndfile.m @@ -26,8 +26,8 @@ if ispc && have_stdint_h extra_flags = '-DHAVE_STDINT_H'; elseif ~ispc - % needed with GCC >= 4.5, otherwise Matlab crashes - extra_flags = '-fno-reorder-blocks'; + % assume stdint.h; needed with GCC >= 4.5, otherwise Matlab crashes + extra_flags = '-DHAVE_STDINT_H -fno-reorder-blocks'; end src_dir = 'src/+msndfile';