include/SDL_opengl.h
changeset 11331 1e231cf0a347
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
equal deleted inserted replaced
11330:6ae35c5f7f7b 11331:1e231cf0a347
    95 #    define GLAPIENTRY __stdcall
    95 #    define GLAPIENTRY __stdcall
    96 #  endif
    96 #  endif
    97 #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
    97 #elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
    98 #  define GLAPI extern
    98 #  define GLAPI extern
    99 #  define GLAPIENTRY __stdcall
    99 #  define GLAPIENTRY __stdcall
       
   100 #elif defined(__OS2__) || defined(__EMX__) /* native os/2 opengl */
       
   101 #  define GLAPI extern
       
   102 #  define GLAPIENTRY _System
       
   103 #  define APIENTRY _System
       
   104 #  if defined(__GNUC__) && !defined(_System)
       
   105 #    define _System
       
   106 #  endif
   100 #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
   107 #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
   101 #  define GLAPI __attribute__((visibility("default")))
   108 #  define GLAPI __attribute__((visibility("default")))
   102 #  define GLAPIENTRY
   109 #  define GLAPIENTRY
   103 #endif /* WIN32 && !CYGWIN */
   110 #endif /* WIN32 && !CYGWIN */
   104 
   111