mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-15 02:37:52 +00:00
cygwin: patch egl/opengles headers for EGLAPIENTRY
This commit is contained in:
parent
71979477c7
commit
2cd5cd2a42
2 changed files with 4 additions and 0 deletions
|
|
@ -164,6 +164,8 @@
|
||||||
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
|
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
|
||||||
/* Win32 but not WinCE */
|
/* Win32 but not WinCE */
|
||||||
# define KHRONOS_APIENTRY __stdcall
|
# define KHRONOS_APIENTRY __stdcall
|
||||||
|
#elif defined(__CYGWIN__) /* __CYGWIN__ added by SDL */
|
||||||
|
# define KHRONOS_APIENTRY __stdcall
|
||||||
#else
|
#else
|
||||||
# define KHRONOS_APIENTRY
|
# define KHRONOS_APIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -122,6 +122,8 @@
|
||||||
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
|
#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
|
||||||
/* Win32 but not WinCE */
|
/* Win32 but not WinCE */
|
||||||
# define KHRONOS_APIENTRY __stdcall
|
# define KHRONOS_APIENTRY __stdcall
|
||||||
|
#elif defined(__CYGWIN__) /* __CYGWIN__ added by SDL */
|
||||||
|
# define KHRONOS_APIENTRY __stdcall
|
||||||
#else
|
#else
|
||||||
# define KHRONOS_APIENTRY
|
# define KHRONOS_APIENTRY
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue