Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add missing os/2 apientry defs to SDL_opengl.h
  • Loading branch information
slouken committed Aug 19, 2017
1 parent 30d554e commit 18a6538
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/SDL_opengl.h
Expand Up @@ -97,6 +97,13 @@
#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
# define GLAPI extern
# define GLAPIENTRY __stdcall
#elif defined(__OS2__) || defined(__EMX__) /* native os/2 opengl */
# define GLAPI extern
# define GLAPIENTRY _System
# define APIENTRY _System
# if defined(__GNUC__) && !defined(_System)
# define _System
# endif
#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
# define GLAPI __attribute__((visibility("default")))
# define GLAPIENTRY
Expand Down

0 comments on commit 18a6538

Please sign in to comment.