mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 14:55:07 +00:00
18d358e0d6
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@554 783a27ee-832a-0410-bc00-9f386506c6dd
37 lines
655 B
C
37 lines
655 B
C
#ifndef __wglew_h__
|
|
#define __wglew_h__
|
|
#define __WGLEW_H__
|
|
|
|
#ifdef __wglext_h_
|
|
#error wglext.h included before wglew.h
|
|
#endif
|
|
|
|
#define __wglext_h_
|
|
|
|
#if !defined(WINAPI)
|
|
# ifndef WIN32_LEAN_AND_MEAN
|
|
# define WIN32_LEAN_AND_MEAN 1
|
|
# endif
|
|
#include <windows.h>
|
|
# undef WIN32_LEAN_AND_MEAN
|
|
#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
|
|
|