From ede381c00540831d965cae5ac8bcd31c2e34fc92 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 12 Sep 2023 23:18:46 +0200 Subject: 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. --- FL/Fl_String.H | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'FL/Fl_String.H') 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_ -- cgit v1.2.3