OSDN Git Service

Fix sim-eng build on Hardy
authorBrian Carlstrom <bdc@google.com>
Thu, 16 Sep 2010 23:28:13 +0000 (16:28 -0700)
committerBrian Carlstrom <bdc@google.com>
Thu, 16 Sep 2010 23:28:13 +0000 (16:28 -0700)
commit17563f9fb30dc5d2ad85878c436eabf7f1296a3e
treeb6c57acdf88bd123df664ad64dc76892828d11a8
parent73aa9002a9417581fd7fdd3815650f696e144963
Fix sim-eng build on Hardy

Older glibc version do not include BSD htole32 and htole64 which are
present in bionic. This worksaround a sim-eng build issue by only
using htole32/htole64 if the host is not little endian.

Change-Id: Ia8d0d36285f3c34c51a331790458e52a21c2925f
libs/ui/GraphicLog.cpp