Kaydet (Commit) 76c9cd64 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Include <Availability.h> to get __IPHONE_OS_VERSION_MIN_REQUIRED

Change-Id: I0ef21ee7709cab05639935d70722973c9a18f93c
üst d3f63d4b
-*- Mode:Diff -*-
--- glew/include/GL/glew.h
+++ glew/include/GL/glew.h
@@ -1180,6 +1180,10 @@
@@ -1180,6 +1180,15 @@
/* ---------------------------------- GLU ---------------------------------- */
+#if !defined(GLEW_NO_GLU) && defined(__APPLE__) && defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
+#define GLEW_NO_GLU
+#ifndef GLEW_NO_GLU
+# ifdef __APPLE__
+# include <Availability.h>
+# if defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
+# define GLEW_NO_GLU
+# endif
+# endif
+#endif
+
#ifndef GLEW_NO_GLU
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment