2002-05-04 00:30:19 +04:00
|
|
|
/*
|
2018-02-09 17:39:42 +03:00
|
|
|
* Windows DLL export .
|
2002-05-04 00:30:19 +04:00
|
|
|
*
|
2018-02-09 17:39:42 +03:00
|
|
|
* Copyright 1998-2018 by Bill Spitzak and others.
|
2002-05-04 00:30:19 +04:00
|
|
|
*
|
2011-07-19 08:49:30 +04:00
|
|
|
* This library is free software. Distribution and use rights are outlined in
|
|
|
|
* the file "COPYING" which should have been included with this file. If this
|
|
|
|
* file is missing or damaged, see the license at:
|
2002-05-04 00:30:19 +04:00
|
|
|
*
|
2020-07-01 19:03:10 +03:00
|
|
|
* https://www.fltk.org/COPYING.php
|
2002-05-04 00:30:19 +04:00
|
|
|
*
|
2020-07-01 19:03:10 +03:00
|
|
|
* Please see the following page on how to report bugs and issues:
|
2005-04-16 04:13:17 +04:00
|
|
|
*
|
2020-07-01 19:03:10 +03:00
|
|
|
* https://www.fltk.org/bugs.php
|
2002-05-04 00:30:19 +04:00
|
|
|
*/
|
2001-08-02 01:24:49 +04:00
|
|
|
|
2001-08-04 16:21:34 +04:00
|
|
|
#ifndef Fl_Export_H
|
2002-05-04 00:30:19 +04:00
|
|
|
# define Fl_Export_H
|
2001-08-04 16:21:34 +04:00
|
|
|
|
2002-05-04 00:30:19 +04:00
|
|
|
/*
|
2022-08-23 10:04:14 +03:00
|
|
|
* The following is used when building DLLs under Windows
|
|
|
|
* and when building .so's under unix/linux.
|
2002-05-04 00:30:19 +04:00
|
|
|
*/
|
2001-08-04 16:21:34 +04:00
|
|
|
|
2010-11-12 13:30:50 +03:00
|
|
|
# if defined(FL_DLL)
|
2002-05-04 00:30:19 +04:00
|
|
|
# ifdef FL_LIBRARY
|
2020-07-01 19:03:10 +03:00
|
|
|
# define FL_EXPORT __declspec(dllexport)
|
2002-05-04 00:30:19 +04:00
|
|
|
# else
|
2020-07-01 19:03:10 +03:00
|
|
|
# define FL_EXPORT __declspec(dllimport)
|
2002-05-04 00:30:19 +04:00
|
|
|
# endif /* FL_LIBRARY */
|
2014-08-21 16:29:48 +04:00
|
|
|
# elif __GNUC__ >= 4
|
|
|
|
# define FL_EXPORT __attribute__ ((visibility ("default")))
|
2001-08-02 01:24:49 +04:00
|
|
|
# else
|
2002-05-04 00:30:19 +04:00
|
|
|
# define FL_EXPORT
|
2002-07-14 21:03:31 +04:00
|
|
|
# endif /* FL_DLL */
|
2001-08-04 16:21:34 +04:00
|
|
|
|
2002-05-04 00:30:19 +04:00
|
|
|
#endif /* !Fl_Export_H */
|