diff --git a/include/SDL3/SDL_opengles2_khrplatform.h b/include/SDL3/SDL_opengles2_khrplatform.h index 01646449ca..ce63eee076 100644 --- a/include/SDL3/SDL_opengles2_khrplatform.h +++ b/include/SDL3/SDL_opengles2_khrplatform.h @@ -122,6 +122,8 @@ #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__) /* Win32 but not WinCE */ # define KHRONOS_APIENTRY __stdcall +#elif defined(__CYGWIN__) /* __CYGWIN__ added by SDL */ +# define KHRONOS_APIENTRY __stdcall #else # define KHRONOS_APIENTRY #endif