From 38f6a950a97a80008bd7edd9420ae5a0ffdc4f08 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Mon, 7 May 2012 10:42:10 -0500 Subject: [PATCH] More GLEWAPIENTRY fixups for Windows build --- auto/src/glew_init_tail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto/src/glew_init_tail.c b/auto/src/glew_init_tail.c index 8a1b045..90188bf 100644 --- a/auto/src/glew_init_tail.c +++ b/auto/src/glew_init_tail.c @@ -35,9 +35,9 @@ GLboolean glewExperimental = GL_FALSE; #if !defined(GLEW_MX) #if defined(_WIN32) -extern GLenum wglewContextInit (void); +extern GLenum GLEWAPIENTRY wglewContextInit (void); #elif !defined(__ANDROID__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) -extern GLenum glxewContextInit (void); +extern GLenum GLEWAPIENTRY glxewContextInit (void); #endif /* _WIN32 */ GLenum GLEWAPIENTRY glewInit (void)