mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-29 17:17:07 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@45 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
cdb4f6e6df
commit
628cc38c4f
@ -139,18 +139,17 @@ typedef unsigned short wchar_t;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GLEW_STATIC needs to be set when including the
|
* GLEW_DLL needs to be set when using the DLL version.
|
||||||
* source directly in the project.
|
* GLEW_BUILD is set when building the DLL version.
|
||||||
* GLEW_BUILD is set when building the dll version.
|
|
||||||
*/
|
*/
|
||||||
#ifdef GLEW_STATIC
|
#ifdef GLEW_DLL
|
||||||
#define GLEW_EXPORT
|
# ifdef GLEW_BUILD
|
||||||
|
# define GLEW_EXPORT __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define GLEW_EXPORT __declspec(dllimport)
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#ifdef GLEW_BUILD
|
# define GLEW_EXPORT
|
||||||
#define GLEW_EXPORT __declspec(dllexport)
|
|
||||||
#else
|
|
||||||
#define GLEW_EXPORT __declspec(dllimport)
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* _UNIX */
|
#else /* _UNIX */
|
||||||
|
@ -91,18 +91,17 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GLEW_STATIC needs to be set when including the
|
* GLEW_DLL needs to be set when using the DLL version.
|
||||||
* source directly in the project.
|
* GLEW_BUILD is set when building the DLL version.
|
||||||
* GLEW_BUILD is set when building the dll version.
|
|
||||||
*/
|
*/
|
||||||
#ifdef GLEW_STATIC
|
#ifdef GLEW_DLL
|
||||||
#define GLEW_EXPORT
|
# ifdef GLEW_BUILD
|
||||||
|
# define GLEW_EXPORT __declspec(dllexport)
|
||||||
|
# else
|
||||||
|
# define GLEW_EXPORT __declspec(dllimport)
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
#ifdef GLEW_BUILD
|
# define GLEW_EXPORT
|
||||||
#define GLEW_EXPORT __declspec(dllexport)
|
|
||||||
#else
|
|
||||||
#define GLEW_EXPORT __declspec(dllimport)
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user