egl: updated GL_APIENTRY for Windows

This commit is contained in:
Jonathan White 2008-07-07 17:56:09 -06:00 committed by Brian Paul
parent 6701ecb3ba
commit f4caddd66f
2 changed files with 4 additions and 2 deletions

View File

@ -51,15 +51,16 @@ extern "C" {
# else
# define GL_API __declspec(dllimport)
# endif
# define GL_APIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_API
# else
# define GL_API extern
# endif
# define GL_APIENTRY
#endif
#define GL_APIENTRY
#ifndef APIENTRY
# define APIENTRY GL_APIENTRY

View File

@ -51,15 +51,16 @@ extern "C" {
# else
# define GL_APICALL __declspec(dllimport)
# endif
# define GL_APIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_APICALL
# else
# define GL_APICALL extern
# endif
# define GL_APIENTRY
#endif
#define GL_APIENTRY
#ifdef __cplusplus
}