Blame thirdparty/glew/glew-1.9.0/auto/src/wglew_head.h
|
kusano |
7d535a |
#ifndef __wglew_h__
|
|
kusano |
7d535a |
#define __wglew_h__
|
|
kusano |
7d535a |
#define __WGLEW_H__
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#ifdef __wglext_h_
|
|
kusano |
7d535a |
#error wglext.h included before wglew.h
|
|
kusano |
7d535a |
#endif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#define __wglext_h_
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#if !defined(WINAPI)
|
|
kusano |
7d535a |
# ifndef WIN32_LEAN_AND_MEAN
|
|
kusano |
7d535a |
# define WIN32_LEAN_AND_MEAN 1
|
|
kusano |
7d535a |
# endif
|
|
kusano |
7d535a |
#include <windows.h></windows.h>
|
|
kusano |
7d535a |
# undef WIN32_LEAN_AND_MEAN
|
|
kusano |
7d535a |
#endif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
/*
|
|
kusano |
7d535a |
* GLEW_STATIC needs to be set when using the static version.
|
|
kusano |
7d535a |
* GLEW_BUILD is set when building the DLL version.
|
|
kusano |
7d535a |
*/
|
|
kusano |
7d535a |
#ifdef GLEW_STATIC
|
|
kusano |
7d535a |
# define GLEWAPI extern
|
|
kusano |
7d535a |
#else
|
|
kusano |
7d535a |
# ifdef GLEW_BUILD
|
|
kusano |
7d535a |
# define GLEWAPI extern __declspec(dllexport)
|
|
kusano |
7d535a |
# else
|
|
kusano |
7d535a |
# define GLEWAPI extern __declspec(dllimport)
|
|
kusano |
7d535a |
# endif
|
|
kusano |
7d535a |
#endif
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
#ifdef __cplusplus
|
|
kusano |
7d535a |
extern "C" {
|
|
kusano |
7d535a |
#endif
|
|
kusano |
7d535a |
|