]> sourceware.org Git - dwz.git/commitdiff
Define NT_GNU_BUILD_ID if system elf.h doesn't define it.
authorJakub Jelinek <jakub@redhat.com>
Tue, 17 Jul 2012 08:10:58 +0000 (10:10 +0200)
committerJakub Jelinek <jakub@redhat.com>
Tue, 17 Jul 2012 08:10:58 +0000 (10:10 +0200)
dwz.c

diff --git a/dwz.c b/dwz.c
index 6db55aca26ee19f9ef91df0613b8afdd221c82f8..387065fbe1f7f4d0862a723e0a236d865075aefb 100644 (file)
--- a/dwz.c
+++ b/dwz.c
    with low_mem flag set.  This can decrease memory consumption to
    half in some very large cases.  */
 
+#ifndef NT_GNU_BUILD_ID
+# define NT_GNU_BUILD_ID 3
+#endif
+
 #ifndef IGNORE_LOCUS
 # define IGNORE_LOCUS 0
 #endif
 
 #if defined __GNUC__ && __GNUC__ >= 3
-#define likely(x) __builtin_expect (!!(x), 1)
-#define unlikely(x) __builtin_expect (!!(x), 0)
+# define likely(x) __builtin_expect (!!(x), 1)
+# define unlikely(x) __builtin_expect (!!(x), 0)
 #else
-#define likely(x) x
-#define unlikely(x) x
+# define likely(x) x
+# define unlikely(x) x
 #endif
 
 #define obstack_chunk_alloc     malloc
This page took 0.033469 seconds and 5 git commands to generate.