summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libelffile/elf/elf_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libelffile/elf/elf_utils.h b/libelffile/elf/elf_utils.h
index 9c4f0d81ba..da67b8cc73 100644
--- a/libelffile/elf/elf_utils.h
+++ b/libelffile/elf/elf_utils.h
@@ -65,7 +65,9 @@ struct ElfTypes64 {
#define EI_ABIVERSION 8
#define EM_ARM 40
+#if !defined(STV_DEFAULT)
#define STV_DEFAULT 0
+#endif
#define EM_AARCH64 183