// "$Id: FL_API.h 3861 2004-10-01 07:07:53Z spitzak $" // // Stuff needed to compile DLL's on Windows. These symbols pollute all // the header files. Make sure you put them on anything you want to go // into a DLL! // // I also put here some typedefs that fltk uses everywhere. // // Copyright 1998-2004 by Bill Spitzak and others. // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Library General Public // License as published by the Free Software Foundation; either // version 2 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Library General Public License for more details. // // You should have received a copy of the GNU Library General Public // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 // USA. // // Please report all bugs and problems to "fltk-bugs@fltk.org". #ifndef FL_API #if !defined(DOXYGEN) && 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 typedef unsigned char uchar; #endif // // End of "$Id: FL_API.h 3861 2004-10-01 07:07:53Z spitzak $". //