From 44ce401d455c7a017993c3a19f1324dc307db2b5 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 16 Nov 2016 14:04:57 +0000 Subject: Fix shared library build. Missing FL_EXPORT statements (attributes) affected only the configure/make build because some compiler and linker options (visibility etc) are not yet implemented in the CMake build. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12113 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_line_style.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/fl_line_style.cxx b/src/fl_line_style.cxx index 3685ff7ef..bc69c35d0 100644 --- a/src/fl_line_style.cxx +++ b/src/fl_line_style.cxx @@ -21,10 +21,12 @@ \brief Line style drawing utility hiding different platforms. */ +#include + // We save the current line width (absolute value) here. // This is currently used only for X11 clipping, see src/fl_rect.cxx. // FIXME: this would probably better be in class Fl:: -int fl_line_width_ = 0; +FL_EXPORT int fl_line_width_ = 0; // ----------------------------------------------------------------------------- // all driver code is now in drivers/XXX/Fl_XXX_Graphics_Driver_xyz.cxx -- cgit v1.2.3