• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

Fl_Export.H

00001 /*
00002  * "$Id$"
00003  *
00004  * WIN32 DLL export .
00005  *
00006  * Copyright 1998-2010 by Bill Spitzak and others.
00007  *
00008  * This library is free software. Distribution and use rights are outlined in
00009  * the file "COPYING" which should have been included with this file.  If this
00010  * file is missing or damaged, see the license at:
00011  *
00012  *     http://www.fltk.org/COPYING.php
00013  *
00014  * Please report all bugs and problems on the following page:
00015  *
00016  *     http://www.fltk.org/str.php
00017  */
00018 
00019 #ifndef Fl_Export_H
00020 #  define Fl_Export_H
00021 
00022 /*
00023  * The following is only used when building DLLs under WIN32...
00024  */
00025 
00026 #  if defined(FL_DLL)
00027 #    ifdef FL_LIBRARY
00028 #      define FL_EXPORT __declspec(dllexport)
00029 #    else
00030 #      define FL_EXPORT __declspec(dllimport)
00031 #    endif /* FL_LIBRARY */
00032 #  elif __GNUC__ >= 4
00033 #    define FL_EXPORT __attribute__ ((visibility ("default")))
00034 #  else
00035 #    define FL_EXPORT
00036 #  endif /* FL_DLL */
00037 
00038 #endif /* !Fl_Export_H */
00039 
00040 /*
00041  * End of "$Id$".
00042  */
  • © 1998-2016 by Bill Spitzak and others.     FLTK

  • © 1998-2016 by Bill Spitzak and others.     FLTK

    Permission is granted to reproduce this manual or any portion for any purpose, provided this copyright and permission notice are preserved.