From df4503ea2ce2fd8727cf77f7d8d071897bb13445 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 27 Mar 2022 17:13:16 +0200 Subject: Export fl_cmap to be able to build shared FLTK libraries --- src/fl_color.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 #include #include -#include // 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": }; -- cgit v1.2.3