summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL/egl.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2011-02-16 10:13:53 -0800
committerKenny Root <kroot@google.com>2011-02-16 10:56:32 -0800
commitbb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15 (patch)
treedbe7d5b2eef96e80ed4a3a1595e1a26cb19e228d /opengl/libs/EGL/egl.cpp
parent9497144281b92dd5293ea734d668217bcf4e86e9 (diff)
downloadframeworks_base-bb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15.zip
frameworks_base-bb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15.tar.gz
frameworks_base-bb9d394b21bdfeb1ceb4cf6e4ed0306e39757b15.tar.bz2
Clean up use of HAVE_ANDROID_OS
HAVE_ANDROID_OS was defined as "1" for targets, but never defined as "0" for non-targets. Changing them to #ifdef should be safe and matches all the other uses of HAVE_ANDROID_OS throughout the system. Change-Id: I82257325a8ae5e4e4371ddfc4dbf51cea8ea0abb
Diffstat (limited to 'opengl/libs/EGL/egl.cpp')
-rw-r--r--opengl/libs/EGL/egl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 3dc8c03..3d5a4d1 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -22,7 +22,7 @@
#include <sys/ioctl.h>
-#if HAVE_ANDROID_OS
+#ifdef HAVE_ANDROID_OS
#include <linux/android_pmem.h>
#endif