]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Make sure EM_X86_64 is defined as elf.h doesn't define it on some
authorTom Hughes <tom@compton.nu>
Mon, 19 Dec 2005 12:27:42 +0000 (12:27 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 19 Dec 2005 12:27:42 +0000 (12:27 +0000)
older systems.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5371

coregrind/launcher.c

index d1961a4b7245043c05fb8e740974242c182fea14..d9131f608119dbb8b943d6e4df63fcad910b434f 100644 (file)
 #define PATH_MAX 4096 /* POSIX refers to this a lot but I dunno
                          where it is defined */
 
+#ifndef EM_X86_64
+#define EM_X86_64 62
+#endif /* EM_X86_64 */
+
 /* Report fatal errors */
 static void barf ( const char *format, ... )
 {