summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fl_color.cxx8
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":
};