Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGaëtan Harter2017-04-05 15:04:45 +0000
committerGaëtan Harter2017-04-05 15:07:23 +0000
commit830ff5c2ec9e77a1fd9b7d3e791f7b1dc8e9e0ca (patch)
treeda704d814afde76c543d87b7ebbcc1f6d046c617
parent43c7265e0b079ea8be5b6f4608b7d36af7967156 (diff)
downloadorg.eclipse.tinydtls-830ff5c2ec9e77a1fd9b7d3e791f7b1dc8e9e0ca.tar.gz
org.eclipse.tinydtls-830ff5c2ec9e77a1fd9b7d3e791f7b1dc8e9e0ca.tar.xz
org.eclipse.tinydtls-830ff5c2ec9e77a1fd9b7d3e791f7b1dc8e9e0ca.zip
contiki: Fix BYTE_ORDER setting to UIP_BYTE_ORDER
There was the wrong #ifdef which prevented setting BYTE_ORDER. It was working for LITTLE_ENDIAN platforms as defaulting to it. Change-Id: Ia8028c654f04f92e43b8e0ad24e1a18177a975e7 Signed-off-by: Gaëtan Harter <gaetan.harter@inria.fr>
-rw-r--r--platform-specific/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform-specific/platform.h b/platform-specific/platform.h
index 83c46ea..42b8bc9 100644
--- a/platform-specific/platform.h
+++ b/platform-specific/platform.h
@@ -77,7 +77,7 @@
#ifndef BIG_ENDIAN
#define BIG_ENDIAN UIP_BIG_ENDIAN
#endif
-#ifndef UIP_BYTE_ORDER
+#ifndef BYTE_ORDER
#define BYTE_ORDER UIP_BYTE_ORDER
#endif

Back to the top