mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 14:45:06 +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
|
||||
|
||||
/*
|
||||
* GLEW_STATIC needs to be set when including the
|
||||
* source directly in the project.
|
||||
* GLEW_BUILD is set when building the dll version.
|
||||
* GLEW_DLL needs to be set when using the DLL version.
|
||||
* GLEW_BUILD is set when building the DLL version.
|
||||
*/
|
||||
#ifdef GLEW_STATIC
|
||||
#define GLEW_EXPORT
|
||||
#ifdef GLEW_DLL
|
||||
# ifdef GLEW_BUILD
|
||||
# define GLEW_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define GLEW_EXPORT __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
#ifdef GLEW_BUILD
|
||||
#define GLEW_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define GLEW_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
# define GLEW_EXPORT
|
||||
#endif
|
||||
|
||||
#else /* _UNIX */
|
||||
|
@ -91,18 +91,17 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
* GLEW_STATIC needs to be set when including the
|
||||
* source directly in the project.
|
||||
* GLEW_BUILD is set when building the dll version.
|
||||
* GLEW_DLL needs to be set when using the DLL version.
|
||||
* GLEW_BUILD is set when building the DLL version.
|
||||
*/
|
||||
#ifdef GLEW_STATIC
|
||||
#define GLEW_EXPORT
|
||||
#ifdef GLEW_DLL
|
||||
# ifdef GLEW_BUILD
|
||||
# define GLEW_EXPORT __declspec(dllexport)
|
||||
# else
|
||||
# define GLEW_EXPORT __declspec(dllimport)
|
||||
# endif
|
||||
#else
|
||||
#ifdef GLEW_BUILD
|
||||
#define GLEW_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define GLEW_EXPORT __declspec(dllimport)
|
||||
#endif
|
||||
# define GLEW_EXPORT
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Loading…
Reference in New Issue
Block a user