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

View File

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