egl: Windows updates to the platform.h files

This commit is contained in:
Jonathan White
2008-06-27 07:13:30 -06:00
committed by Brian Paul
parent 5b9d823545
commit b028b0cc53
2 changed files with 11 additions and 15 deletions

View File

@@ -45,14 +45,13 @@ extern "C" {
* Definition of GL_API and GL_APIENTRY
*-----------------------------------------------------------------------*/
#define __GL_EXPORTS
#ifdef _WIN32
# ifdef __GL_EXPORTS
# define GL_API __declspec(dllexport)
# else
# define GL_API __declspec(dllimport)
# endif
# define GLAPIENTRY __stdcall
#else
# ifdef __GL_EXPORTS
# define GL_API