summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-11-16 14:04:57 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-11-16 14:04:57 +0000
commit44ce401d455c7a017993c3a19f1324dc307db2b5 (patch)
treec8e3ece1634651b2beae1ceed5b7aa1d601dbb3d /FL/x.H
parente8fcc915e076420ed7fe8789134820076b3fa568 (diff)
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
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/x.H b/FL/x.H
index 7083164f8..371abdde2 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -85,7 +85,7 @@ extern FL_EXPORT void *fl_xftfont;
// With Xlib / X11 fonts, fl_xfont will return the current selected font.
// With XFT / X11 fonts, fl_xfont will attempt to return the bitmap "core" font most
// similar to (usually the same as) the current XFT font.
-class Fl_XFont_On_Demand
+class FL_EXPORT Fl_XFont_On_Demand
{
public:
Fl_XFont_On_Demand(XFontStruct* p = NULL) : ptr(p) { }