summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-04-01 09:37:37 +0200
committerMartin Liska <mliska@suse.cz>2020-04-01 09:37:37 +0200
commit142d68f50b48309f48e34fc1d9d6dbbeecfde684 (patch)
tree0cb46f3740ce6e073ff07af93284a0cbe82e0735 /include
parentbd0f22a8d5caea8905f38ff1fafce31c1b7d33ad (diff)
Fix typo in a macro usage.
PR lto/94249 * plugin-api.h: Fix a typo.
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/plugin-api.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index a59560caf7e..64bcd210ca2 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2020-04-01 Martin Liska <mliska@suse.cz>
+ Maciej W. Rozycki <macro@linux-mips.org>
+
+ PR lto/94249
+ * plugin-api.h: Fix a typo.
+
2020-03-24 Martin Liska <mliska@suse.cz>
PR lto/94249
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 864d2bf91ac..e317d784785 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