Makefile.am: added limit definitions to SPARSE_CPPFLAGS

sparse complains that a lot of limit.h macros are missing.  Define
them to keep sparse quiet.
This commit is contained in:
Max Kellermann 2009-03-14 14:30:01 +01:00
parent d70591b652
commit 0a1db6cbc9

View File

@ -520,6 +520,8 @@ SPARSE_FLAGS =
SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \
-I$(shell $(CC) -print-file-name=include) \
-I$(shell $(CC) -print-file-name=include-fixed)
SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \
-D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647
sparse-check:
for i in $(src_mpd_SOURCES); \
do \