diff options
author | Dan Albert <danalbert@google.com> | 2014-11-04 17:25:12 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-11-04 17:25:12 -0800 |
commit | bcc1ae07d951c166573612f123f8f0340a9233eb (patch) | |
tree | 853c2917265615f69a4dd9210e3b4b31c601deaf /opengl/tests/hwc/hwcTestLib.cpp | |
parent | dbab409c49ca5dd6686912d0b3eeb19ef1c37a3e (diff) | |
download | frameworks_native-bcc1ae07d951c166573612f123f8f0340a9233eb.zip frameworks_native-bcc1ae07d951c166573612f123f8f0340a9233eb.tar.gz frameworks_native-bcc1ae07d951c166573612f123f8f0340a9233eb.tar.bz2 |
Move hwc tests to libc++.
Since these tests were pulling in a static library linked against
stlport, the tests needed to be explicit about which STL they're
using. Might as well be libc++.
Bug: 15193147
Change-Id: I4e0fc4ea10f7982dd04e7baaf57139dd5d55543e
Diffstat (limited to 'opengl/tests/hwc/hwcTestLib.cpp')
-rw-r--r-- | opengl/tests/hwc/hwcTestLib.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/opengl/tests/hwc/hwcTestLib.cpp b/opengl/tests/hwc/hwcTestLib.cpp index 9b224e2..d5ce448 100644 --- a/opengl/tests/hwc/hwcTestLib.cpp +++ b/opengl/tests/hwc/hwcTestLib.cpp @@ -20,17 +20,18 @@ * Utility library functions for use by the Hardware Composer test cases */ +#include <arpa/inet.h> // For ntohl() and htonl() + +#include <cmath> #include <sstream> #include <string> -#include <arpa/inet.h> // For ntohl() and htonl() - #include "hwcTestLib.h" #include "EGLUtils.h" // Defines -#define NUMA(a) (sizeof(a) / sizeof(a [0])) +#define NUMA(a) (sizeof(a) / sizeof((a)[0])) // Function Prototypes static void printGLString(const char *name, GLenum s); |