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
commitaf1cf07134dccc884c654da0e713c9213d7be3f4 (patch)
treea4343f8ed4c9e66c7437149572049681a09e8dbd /opengl/libs/EGL/egl.cpp
parent1ad7de7372466ac37ec4b0ec031e6466d533ebb4 (diff)
downloadframeworks_native-af1cf07134dccc884c654da0e713c9213d7be3f4.zip
frameworks_native-af1cf07134dccc884c654da0e713c9213d7be3f4.tar.gz
frameworks_native-af1cf07134dccc884c654da0e713c9213d7be3f4.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