|
From: <sv...@va...> - 2014-09-01 21:17:08
|
Author: sewardj
Date: Mon Sep 1 21:17:01 2014
New Revision: 14416
Log:
EM_PPC64 isn't defined by some older Android NDKs. Define it
if necessary.
Modified:
trunk/coregrind/launcher-linux.c
Modified: trunk/coregrind/launcher-linux.c
==============================================================================
--- trunk/coregrind/launcher-linux.c (original)
+++ trunk/coregrind/launcher-linux.c Mon Sep 1 21:17:01 2014
@@ -61,6 +61,10 @@
#define EM_AARCH64 183 // ditto
#endif
+#ifndef EM_PPC64
+#define EM_PPC64 21 // ditto
+#endif
+
/* Report fatal errors */
__attribute__((noreturn))
static void barf ( const char *format, ... )
|