diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2013-07-27 00:59:55 +0530 |
---|---|---|
committer | Ubuntu <vishal.bhoj@linaro.org> | 2014-06-05 09:54:02 +0000 |
commit | d05a00929379e9122d446156aa610e78c113fed3 (patch) | |
tree | 1562ec97596ae2394226a6e81c0a66bffef8992e | |
parent | 7c064da4df35a9da324bda3536d94c46662cd753 (diff) | |
download | native-d05a00929379e9122d446156aa610e78c113fed3.tar.gz |
frameworks/native: Fix build with ISO C++11 compilers
Fix few more macro definitions so they can't be confused with
C++11 string literals
Change-Id: I8d18acd12341306436cd5037d05eaef1563c1bc8
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | libs/gui/GLConsumer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/gui/GLConsumer.cpp b/libs/gui/GLConsumer.cpp index 7ee3081c80..a22aabc292 100644 --- a/libs/gui/GLConsumer.cpp +++ b/libs/gui/GLConsumer.cpp @@ -47,11 +47,11 @@ EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint na namespace android { // Macros for including the GLConsumer name in log messages -#define ST_LOGV(x, ...) ALOGV("[%s] "x, mName.string(), ##__VA_ARGS__) -#define ST_LOGD(x, ...) ALOGD("[%s] "x, mName.string(), ##__VA_ARGS__) -#define ST_LOGI(x, ...) ALOGI("[%s] "x, mName.string(), ##__VA_ARGS__) -#define ST_LOGW(x, ...) ALOGW("[%s] "x, mName.string(), ##__VA_ARGS__) -#define ST_LOGE(x, ...) ALOGE("[%s] "x, mName.string(), ##__VA_ARGS__) +#define ST_LOGV(x, ...) ALOGV("[%s] " x, mName.string(), ##__VA_ARGS__) +#define ST_LOGD(x, ...) ALOGD("[%s] " x, mName.string(), ##__VA_ARGS__) +#define ST_LOGI(x, ...) ALOGI("[%s] " x, mName.string(), ##__VA_ARGS__) +#define ST_LOGW(x, ...) ALOGW("[%s] " x, mName.string(), ##__VA_ARGS__) +#define ST_LOGE(x, ...) ALOGE("[%s] " x, mName.string(), ##__VA_ARGS__) static const struct { size_t width, height; |