FLTK 1.3.9
Loading...
Searching...
No Matches
Fl_Export.H
1/*
2 * "$Id$"
3 *
4 * WIN32 DLL export .
5 *
6 * Copyright 1998-2010 by Bill Spitzak and others.
7 *
8 * This library is free software. Distribution and use rights are outlined in
9 * the file "COPYING" which should have been included with this file. If this
10 * file is missing or damaged, see the license at:
11 *
12 * http://www.fltk.org/COPYING.php
13 *
14 * Please report all bugs and problems on the following page:
15 *
16 * http://www.fltk.org/str.php
17 */
18
19#ifndef Fl_Export_H
20# define Fl_Export_H
21
22/*
23 * The following is only used when building DLLs under WIN32...
24 */
25
26# if defined(FL_DLL)
27# ifdef FL_LIBRARY
28# define FL_EXPORT __declspec(dllexport)
29# else
30# define FL_EXPORT __declspec(dllimport)
31# endif /* FL_LIBRARY */
32# elif __GNUC__ >= 4
33# define FL_EXPORT __attribute__ ((visibility ("default")))
34# else
35# define FL_EXPORT
36# endif /* FL_DLL */
37
38#endif /* !Fl_Export_H */
39
40/*
41 * End of "$Id$".
42 */