Use config.h rather than passing all defs in CFLAGS

This commit is contained in:
Matt Zimmerman
2002-10-10 16:51:06 +00:00
parent 87099c08f3
commit e525917900
20 changed files with 71 additions and 16 deletions

View File

@@ -20,7 +20,7 @@ lib_LTLIBRARIES = libFLAC.la
if DEBUG
DEBUGCFLAGS = -DFLAC__OVERFLOW_DETECT
endif
CFLAGS = @CFLAGS@ $(DEBUGCFLAGS)
CFLAGS = @ CFLAGS@ $(DEBUGCFLAGS)
if FLaC__NO_ASM
else

View File

@@ -23,6 +23,10 @@
#include "FLAC/format.h"
#include "private/format.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef min
#undef min
#endif