summaryrefslogtreecommitdiff
path: root/FL/win32.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2016-08-09 14:11:42 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2016-08-09 14:11:42 +0000
commit78d853891c145776e19e412b4956fed87a33bf60 (patch)
tree208be0977778d912bb06d6ef99953bca49556989 /FL/win32.H
parente5e7fa9b1ee64a1f6d3688930ce162668093a3c1 (diff)
[CMake] Fix Windows dll build with Visual Studio generator.
Now you can set OPTION_BUILD_SHARED_LIBS:BOOL=ON to build FLTK dll's with Visual Studio. Tested and works (Visual Studio 2010 + 2015). Note: Linux fixes included, tested and works (Ubuntu). Todo: dll names and target directories may need some changes. We really need to get rid of that "_SHARED" suffix in .so names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11867 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/win32.H')
-rw-r--r--FL/win32.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/win32.H b/FL/win32.H
index 1983cc0cf..3a9b74c32 100644
--- a/FL/win32.H
+++ b/FL/win32.H
@@ -45,7 +45,7 @@ extern FL_EXPORT UINT fl_wake_msg;
extern FL_EXPORT char fl_override_redirect; // hack into Fl_Window::make_xid()
extern FL_EXPORT int fl_background_pixel; // hack into Fl_Window::make_xid()
extern FL_EXPORT HPALETTE fl_palette; // non-zero only on 8-bit displays!
-extern FL_EXPORT void fl_release_dc(HWND w, HDC dc);
+extern void fl_release_dc(HWND w, HDC dc);
extern FL_EXPORT void fl_save_dc( HWND w, HDC dc);
#endif // FL_LIBRARY || FL_INTERNALS