mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 16:41:57 +00:00
In relation to bug 2237650, it can happen on Cygwin that APIENTRY is defined, but not WINAPI. It's WINAPI that matters to wglew.h
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@550 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
ceb6fe2e85
commit
ffa96fc016
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
#define __wglext_h_
|
#define __wglext_h_
|
||||||
|
|
||||||
#if !defined(APIENTRY)
|
#if !defined(WINAPI)
|
||||||
# ifndef WIN32_LEAN_AND_MEAN
|
# ifndef WIN32_LEAN_AND_MEAN
|
||||||
# define WIN32_LEAN_AND_MEAN 1
|
# define WIN32_LEAN_AND_MEAN 1
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user