3cb5ebe0e8
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1513 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
38 lines
888 B
C
38 lines
888 B
C
/*
|
|
The following is only used when building DLLs under WIN32
|
|
*/
|
|
|
|
#if defined(WIN32) && defined(FL_SHARED)
|
|
# ifdef FL_LIBRARY
|
|
# define FL_API __declspec(dllexport)
|
|
# else
|
|
# define FL_API __declspec(dllimport)
|
|
# endif
|
|
# ifdef FL_IMAGES_LIBRARY
|
|
# define FL_IMAGES_API __declspec(dllexport)
|
|
# else
|
|
# define FL_IMAGES_API __declspec(dllimport)
|
|
# endif
|
|
# ifdef FL_GLUT_LIBRARY
|
|
# define FL_GLUT_API __declspec(dllexport)
|
|
# else
|
|
# define FL_GLUT_API __declspec(dllimport)
|
|
# endif
|
|
# ifdef FL_FORMS_LIBRARY
|
|
# define FL_FORMS_API __declspec(dllexport)
|
|
# else
|
|
# define FL_FORMS_API __declspec(dllimport)
|
|
# endif
|
|
# ifdef FL_GL_LIBRARY
|
|
# define FL_GL_API __declspec(dllexport)
|
|
# else
|
|
# define FL_GL_API __declspec(dllimport)
|
|
# endif
|
|
#else
|
|
# define FL_API
|
|
# define FL_IMAGES_API
|
|
# define FL_GLUT_API
|
|
# define FL_FORMS_API
|
|
# define FL_GL_API
|
|
#endif
|