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:36:11 +0000 (02:36 -0700)
Fix typo in a macro usage.

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

include/ChangeLog
include/plugin-api.h

index f9d4101fe6bc2847ddd28423190ee7b2f84bc2d1..65107bdacc6abb56a557a012a83fabe522420b14 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-30  Nelson Chu  <nelson.chu@sifive.com>
 
        * opcode/riscv-opc.h: Update CSR to 1.11.
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
This page took 0.025771 seconds and 4 git commands to generate.