diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-03-27 17:13:16 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-03-27 17:13:16 +0200 |
| commit | df4503ea2ce2fd8727cf77f7d8d071897bb13445 (patch) | |
| tree | f24c496486c250c14cb303eed13e7822e2491b5b | |
| parent | b0374726496265cb3ee05087cbd3f750f2446fbc (diff) | |
Export fl_cmap to be able to build shared FLTK libraries
| -rw-r--r-- | src/fl_color.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fl_color.cxx b/src/fl_color.cxx index 8d3d04561..d28533fe9 100644 --- a/src/fl_color.cxx +++ b/src/fl_color.cxx @@ -1,7 +1,7 @@ // // Color functions for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2016 by Bill Spitzak and others. +// Copyright 1998-2022 by Bill Spitzak and others. // // 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 @@ -24,12 +24,12 @@ #include <FL/Fl.H> #include <FL/Fl_Device.H> #include <FL/Fl_Graphics_Driver.H> -#include <FL/Fl.H> // fl_cmap needs to be defined globally (here) and is used in the device -// specific graphics drivers +// specific graphics drivers. It is required to 'FL_EXPORT' this symbol +// to be able to build the shared FLTK libraries. -unsigned fl_cmap[256] = { +FL_EXPORT unsigned fl_cmap[256] = { #include "fl_cmap.h" // this is a file produced by "cmap.cxx": }; |
