summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2023-09-12 23:18:46 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2023-09-12 23:18:46 +0200
commitede381c00540831d965cae5ac8bcd31c2e34fc92 (patch)
tree5c8b6ba5fcdfba71458e9c82639cd7614b8c177a /FL
parente44a988c4a0770b7a12193cc023d1a55b5ff89e7 (diff)
Fix Visual Studio shared library build
Todo: fluid-shared can't (yet) be built agains the shared fltk lib because of some linker errors. Needs investigation. Note: fluid-shared is basically a test program to demonstrate linking against the shared FLTK libs but doesn't work yet using VS (MSVC). This is no problem for the functionality.
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_String.H6
1 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_String.H b/FL/Fl_String.H
index dc0d8307a..f8e273d65 100644
--- a/FL/Fl_String.H
+++ b/FL/Fl_String.H
@@ -126,8 +126,8 @@ public:
}; // class Fl_String
// ---- Non-member functions
-extern Fl_String operator+(const Fl_String &lhs, const Fl_String &rhs);
-extern Fl_String operator+(const Fl_String &lhs, const char *rhs);
-extern bool operator==(const Fl_String &lhs, const Fl_String &rhs);
+FL_EXPORT Fl_String operator+(const Fl_String& lhs, const Fl_String& rhs);
+FL_EXPORT Fl_String operator+(const Fl_String& lhs, const char* rhs);
+FL_EXPORT bool operator==(const Fl_String & lhs, const Fl_String & rhs);
#endif // _FL_Fl_String_H_