*** 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:
ikits 2003-04-14 04:22:35 +00:00
parent cdb4f6e6df
commit 628cc38c4f
2 changed files with 18 additions and 20 deletions

View File

@ -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 */

View File

@ -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