zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
wglew_head.h
Go to the documentation of this file.
1 #ifndef __wglew_h__
2 #define __wglew_h__
3 #define __WGLEW_H__
4 
5 #ifdef __wglext_h_
6 #error wglext.h included before wglew.h
7 #endif
8 
9 #define __wglext_h_
10 
11 #if !defined(WINAPI)
12 # ifndef WIN32_LEAN_AND_MEAN
13 # define WIN32_LEAN_AND_MEAN 1
14 # endif
15 #include <windows.h>
16 # undef WIN32_LEAN_AND_MEAN
17 #endif
18 
19 /*
20  * GLEW_STATIC needs to be set when using the static version.
21  * GLEW_BUILD is set when building the DLL version.
22  */
23 #ifdef GLEW_STATIC
24 # define GLEWAPI extern
25 #else
26 # ifdef GLEW_BUILD
27 # define GLEWAPI extern __declspec(dllexport)
28 # else
29 # define GLEWAPI extern __declspec(dllimport)
30 # endif
31 #endif
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36