From 93fc72a4050673891a199b5b95e8cc395817840b Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 3 Feb 2023 20:58:02 +0100 Subject: [PATCH] opengl: make SDL_opengl_glext.h's include compatible with macos - Mesa defines __gl_glext_h_ - Apple defines __glext_h_ --- include/SDL3/SDL_opengl_glext.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/SDL3/SDL_opengl_glext.h b/include/SDL3/SDL_opengl_glext.h index 8527e1744f..bdd3efb79a 100644 --- a/include/SDL3/SDL_opengl_glext.h +++ b/include/SDL3/SDL_opengl_glext.h @@ -1,4 +1,5 @@ -#ifndef __gl_glext_h_ +#if !defined(__glext_h_) && !defined(__gl_glext_h_) +#define __glext_h_ 1 #define __gl_glext_h_ 1 #ifdef __cplusplus