aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-08-13 22:25:10 -0400
committerMike Frysinger <vapier@gentoo.org>2015-08-13 22:25:10 -0400
commitca9a45b96c1f73cb0c9f28095954fdcce0c87cd9 (patch)
treecc9664c27f8ee6cf4a1e135c9206f23565e49d7a /paxmacho.h
parentlddtree: handle direct ldso linkage better (diff)
downloadpax-utils-ca9a45b96c1f73cb0c9f28095954fdcce0c87cd9.tar.gz
pax-utils-ca9a45b96c1f73cb0c9f28095954fdcce0c87cd9.tar.bz2
pax-utils-ca9a45b96c1f73cb0c9f28095954fdcce0c87cd9.zip
use __typeof__ instead of typeof to build with stricter standards
Diffstat (limited to 'paxmacho.h')
-rw-r--r--paxmacho.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/paxmacho.h b/paxmacho.h
index 41ab43a..48ac854 100644
--- a/paxmacho.h
+++ b/paxmacho.h
@@ -14,7 +14,7 @@
#include "macho.h"
-#define MGET(swapped, value) (swapped ? (typeof(value))bswap_32(value) : value)
+#define MGET(swapped, value) (swapped ? (__typeof__(value))bswap_32(value) : value)
#define MOBJGET(obj, member) MGET((obj)->swapped, (obj)->member)
typedef struct _fatobj {