Fix typo in a macro usage.

PR lto/94249
	* plugin-api.h: Fix a typo.
This commit is contained in:
Martin Liska 2020-04-01 09:37:37 +02:00
parent bd0f22a8d5
commit 142d68f50b
No known key found for this signature in database
GPG Key ID: 4DC182DC0FA73785
2 changed files with 7 additions and 1 deletions

View 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-24 Martin Liska <mliska@suse.cz>
PR lto/94249

View 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