Fix macro namings in relation to endianness.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4714
This commit is contained in:
Al Poole 2017-03-13 12:32:23 -04:00 committed by Mike Blumenkrantz
parent cc0317ac71
commit 9eb847977b
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ _e_xsettings_apply(Settings_Manager *sm)
pos = data = calloc(1, len);
if (!data) return;
#if __BYTE_ORDER == __LITTLE_ENDIAN
#if (__BYTE_ORDER == __LITTLE_ENDIAN) || (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
*pos = 0; //LSBFirst
#else
*pos = 1; //MSBFirst

View File

@ -22,7 +22,7 @@
#include <string.h> /* for memcpy() */
#include "md5.h"
#if (__BYTE_ORDER == 1234)
#if (__BYTE_ORDER == 1234) || (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
#define byteReverse(buf, len) /* Nothing */
#else
void byteReverse(unsigned char *buf, unsigned longs);