aboutsummaryrefslogtreecommitdiff
path: root/include/plugin-api.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-04-01 02:36:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-04-01 02:36:11 -0700
commit40bd13ced9c03c74af9d55a98d6e06ddcf11429c (patch)
tree845de29820c1141061e5237932ecc76f82e6d21f /include/plugin-api.h
parent41ff29bf5db04b989e6b2b627ee1ca2a9f5b6a09 (diff)
downloadgdb-40bd13ced9c03c74af9d55a98d6e06ddcf11429c.zip
gdb-40bd13ced9c03c74af9d55a98d6e06ddcf11429c.tar.gz
gdb-40bd13ced9c03c74af9d55a98d6e06ddcf11429c.tar.bz2
include: Sync plugin-api.h with GCC
Fix typo in a macro usage. PR lto/94249 * plugin-api.h: Fix a typo.
Diffstat (limited to 'include/plugin-api.h')
-rw-r--r--include/plugin-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 864d2bf..e317d78 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -51,7 +51,7 @@
/* Older GCC releases (<4.6.0) can make detection from glibc macros. */
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__) || defined(__ANDROID__)
#include <endian.h>
-#ifdef _BYTE_ORDER
+#ifdef __BYTE_ORDER
#if __BYTE_ORDER == __LITTLE_ENDIAN
#define PLUGIN_LITTLE_ENDIAN 1
#elif __BYTE_ORDER == __BIG_ENDIAN