2003-07-06 15:01:13 +00:00
|
|
|
#ifndef __wglew_h__
|
|
|
|
#define __wglew_h__
|
|
|
|
#define __WGLEW_H__
|
|
|
|
|
|
|
|
#ifdef __wglext_h_
|
|
|
|
#error wglext.h included before wglew.h
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define __wglext_h_
|
|
|
|
|
2009-03-31 21:32:03 +00:00
|
|
|
#if !defined(WINAPI)
|
2005-07-04 02:41:47 +00:00
|
|
|
# ifndef WIN32_LEAN_AND_MEAN
|
|
|
|
# define WIN32_LEAN_AND_MEAN 1
|
|
|
|
# endif
|
2003-07-06 15:01:13 +00:00
|
|
|
#include <windows.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*
|
|
|
|
* GLEW_STATIC needs to be set when using the static version.
|
|
|
|
* GLEW_BUILD is set when building the DLL version.
|
|
|
|
*/
|
|
|
|
#ifdef GLEW_STATIC
|
|
|
|
# define GLEWAPI extern
|
|
|
|
#else
|
|
|
|
# ifdef GLEW_BUILD
|
|
|
|
# define GLEWAPI extern __declspec(dllexport)
|
|
|
|
# else
|
|
|
|
# define GLEWAPI extern __declspec(dllimport)
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|