summaryrefslogtreecommitdiff
path: root/include/SDL_egl.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2017-11-27 15:07:07 -0800
committerSam Lantinga <slouken@libsdl.org>2017-11-27 15:07:07 -0800
commit4598bc2f890ef6fdc2c6b61ecebff180ebce2088 (patch)
tree63b070b0f6b3483578e6f38cfa33c6729268f879 /include/SDL_egl.h
parent0833d2ee120c3de47dc7bd638ec1214312169956 (diff)
downloadsdl-4598bc2f890ef6fdc2c6b61ecebff180ebce2088.tar.gz
Use the included Khronos headers on Android so we can create Core OpenGL contexts when building with older SDK
Diffstat (limited to 'include/SDL_egl.h')
-rw-r--r--include/SDL_egl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_egl.h b/include/SDL_egl.h
index e47fbe862..172c16215 100644
--- a/include/SDL_egl.h
+++ b/include/SDL_egl.h
@@ -24,7 +24,7 @@
*
* This is a simple file to encapsulate the EGL API headers.
*/
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__ANDROID__)
#include <EGL/egl.h>
#include <EGL/eglext.h>