]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
include: Sync plugin-api.h with GCC
authorMartin Liska <mliska@suse.cz>
Wed, 1 Apr 2020 09:36:11 +0000 (02:36 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 1 Apr 2020 09:41:25 +0000 (02:41 -0700)
Fix typo in a macro usage.

PR lto/94249
* plugin-api.h: Fix a typo.

(cherry picked from commit 40bd13ced9c03c74af9d55a98d6e06ddcf11429c)

include/ChangeLog
include/plugin-api.h

index ec64261681e3b2a2c1023dc365d50ff78c0ded56..2cf472a5df694937e81268fd6cf95f8b76986986 100644 (file)
@@ -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-25  Martin Liska  <mliska@suse.cz>
 
        PR lto/94249
index 864d2bf91ac6b77a74f6537bb138feab4e674e34..e317d784785b409dff3ffb5c3193cb315e67b465 100644 (file)
@@ -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