Commit 0a1db6cb authored by Max Kellermann's avatar Max Kellermann

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.
parent d70591b6
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment