diff options
author | Max Kellermann <max@duempel.org> | 2009-03-14 14:30:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-14 14:30:01 +0100 |
commit | 0a1db6cbc9e77df50096e010f0c5ac6eb6f35d57 (patch) | |
tree | 43fc81dcb6812d19402b54b976f0327dfcee46f0 /Makefile.am | |
parent | d70591b652f793637646c0166a05c691693721fd (diff) | |
download | mpd-0a1db6cbc9e77df50096e010f0c5ac6eb6f35d57.tar.gz mpd-0a1db6cbc9e77df50096e010f0c5ac6eb6f35d57.tar.xz mpd-0a1db6cbc9e77df50096e010f0c5ac6eb6f35d57.zip |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index f00e709f7..1f04b5b55 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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 \ |