]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
remove hack for debian etch limits.h
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 15 May 2017 16:00:09 +0000 (17:00 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 15 May 2017 16:00:09 +0000 (17:00 +0100)
The debian etch distro was end-of-life a long time ago so we no
longer need the ULLONG_MAX hack. In any case gnulib now provides
an equivalent fix by default, and so our definition now triggers
syntax-check rule failure

src/internal.h:#    define ULLONG_MAX   ULONG_LONG_MAX
maint.mk: define the above via some gnulib .h file
maint.mk:843: recipe for target 'sc_prohibit_always-defined_macros' failed

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/internal.h

index 713734cd076f14d9464dd55595341e678525c653..5a5a430a26c77a8405cdd26a5535c199ffb00f24 100644 (file)
 #    define __GNUC_PREREQ(maj, min) 0
 #   endif
 
-/* Work around broken limits.h on debian etch */
-#   if defined _GCC_LIMITS_H_ && ! defined ULLONG_MAX
-#    define ULLONG_MAX   ULONG_LONG_MAX
-#   endif
-
 #  endif /* __GNUC__ */
 
 /**