libcoap: fix big endian problems
authorHauke Mehrtens <hauke.mehrtens@lantiq.com>
Mon, 8 Jun 2015 19:57:52 +0000 (21:57 +0200)
committerErich Keane <erich.keane@intel.com>
Wed, 17 Jun 2015 15:34:07 +0000 (15:34 +0000)
commit62c0a14ccd333d0e55fc431f151253a72a2836d0
tree1f788af72a8321732700c8d08ccf37ec8a30ed79
parent507296ce3f50da0fef131ea59e75b8d6cf2eb842
libcoap: fix big endian problems

When this is build for a big endian Linux system WORDS_BIGENDIAN was
not be set. This patch sets it correctly so it will not generate broken
code on big endian systems.
This was tested on MIPS BE 32 Bit.

Change-Id: I59dd07d8020c553318e2aa43894a2185fe9b9286
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1219
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/connectivity/lib/libcoap-4.1.1/config.h