diff options
| author | Tim Murray <timmurray@google.com> | 2014-09-10 15:42:29 -0700 |
|---|---|---|
| committer | Tim Murray <timmurray@google.com> | 2014-09-10 15:42:29 -0700 |
| commit | cbbac9f5916b9253d88bc10c3661b1ecaa80afd8 (patch) | |
| tree | a380e0109a61e2665660fc68ef21ac11af107009 /cpp/RenderScript.cpp | |
| parent | e1fa65166a0fa1ff13b83697db0e121792a88c5a (diff) | |
Disable property_get for 64-bit.
bug 17417839
Change-Id: I93ba5dd2d755a174cfd79d65e99bb045bd96df65
Diffstat (limited to 'cpp/RenderScript.cpp')
| -rw-r--r-- | cpp/RenderScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/RenderScript.cpp b/cpp/RenderScript.cpp index 25a2990e..49f28a66 100644 --- a/cpp/RenderScript.cpp +++ b/cpp/RenderScript.cpp @@ -432,7 +432,7 @@ static bool loadSO(const char* filename) { } static uint32_t getProp(const char *str) { -#if !defined(RS_SERVER) && defined(HAVE_ANDROID_OS) +#if !defined(__LP64__) && !defined(RS_SERVER) && defined(HAVE_ANDROID_OS) char buf[256]; property_get(str, buf, "0"); return atoi(buf); |
