Fix building on old Apple systems

This commit is contained in:
Kovid Goyal 2026-01-01 07:41:03 +05:30
parent ba3af8f2c3
commit cef2bac116
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -24,6 +24,7 @@
// Required minimum OpenGL version
#define OPENGL_REQUIRED_VERSION_MAJOR 3
#ifdef __APPLE__
#include <xlocale.h>
#define OPENGL_REQUIRED_VERSION_MINOR 3
#else
#define OPENGL_REQUIRED_VERSION_MINOR 1