Skip to content
This repository was archived by the owner on Jun 5, 2019. It is now read-only.

Commit 42c79d2

Browse files
authored
Merge pull request #503 from cw2/fix-endian-macros
Fixes endian macros missed in PR #484
2 parents 8043d5d + ac2823f commit 42c79d2

File tree

3 files changed

+3
-3
lines changed
  • DeviceCode
    • Targets/OS
      • CMSIS_RTOS/DeviceCode/lwip_1_4_1_os/arch
      • Win32/lwip_1_4_1_os/arch
    • pal/OpenSSL/OpenSSL_1_0_0/tinyclr

3 files changed

+3
-3
lines changed

DeviceCode/Targets/OS/CMSIS_RTOS/DeviceCode/lwip_1_4_1_os/arch/cc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
/* Define platform endianness (might already be defined) */
4242
#ifndef BYTE_ORDER
43-
#define BYTE_ORDER LITTLE_ENDIAN
43+
#define BYTE_ORDER NETMF_TARGET_LITTLE_ENDIAN
4444
#endif /* BYTE_ORDER */
4545

4646
/* Define generic types used in lwIP */

DeviceCode/Targets/OS/Win32/lwip_1_4_1_os/arch/cc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
/* Define platform endianness (might already be defined) */
5050
#ifndef BYTE_ORDER
51-
#define BYTE_ORDER LITTLE_ENDIAN
51+
#define BYTE_ORDER NETMF_TARGET_LITTLE_ENDIAN
5252
#endif /* BYTE_ORDER */
5353

5454
/* Define generic types used in lwIP */

DeviceCode/pal/OpenSSL/OpenSSL_1_0_0/tinyclr/ssl_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ typedef int _ssize_t;
6565
typedef int ssize_t;
6666
#endif
6767

68-
#if defined(LITTLE_ENDIAN)
68+
#if defined(NETMF_TARGET_LITTLE_ENDIAN)
6969
#define SSL_LONG_LITTLE_ENDIAN(x) (x)
7070
#define SSL_ntohl(x) SOCK_htonl(x)
7171
#else

0 commit comments

Comments
 (0)