mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Use config.h rather than passing all defs in CFLAGS
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user