summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-05-15 17:00:09 +0100
committerCole Robinson <crobinso@redhat.com>2017-08-04 16:10:28 -0400
commit70b7b6918f116e21f0ee70c3b4c6d619f1bfa429 (patch)
tree7a0ac39e593dc42a93a38a9f491674f9273906b0
parenta72540f733209a50dcb00bdc96329f720258c6e5 (diff)
downloadlibvirt-70b7b6918f116e21f0ee70c3b4c6d619f1bfa429.tar.gz
remove hack for debian etch limits.h
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> (cherry picked from commit 31020664e9614ad0e0057da159379d7e0cd5eb12)
-rw-r--r--src/internal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/internal.h b/src/internal.h
index 97a0f02693..cb38d9a46e 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -114,11 +114,6 @@
# 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__ */
/**