summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2017-12-15 13:04:07 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2017-12-15 13:04:07 +0000
commit0e1916de5181bddc4c28581971e6e9452cc922f1 (patch)
treed18c7fd1cfc0321e681360a33c36b19a70e6c0e7 /src
parent0a61f9d7395530ec80361a036b54374bd6688f01 (diff)
Remove VS specific #pragma comment (lib, ...).
This Visual Studio specific pragma hides missing library references on Visual Studio builds, but since comctl32 is not the only necessary Windows dll and this has never been extended to other libs, this pragma is unnecessary and potentially confusing, so I removed it. Documentation of dependencies mentions comctl32 (and more) and future CMake generation of user project VS IDE files can reference the FLTK dependencies by internal (CMake) means anyway. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 7077c326f..85e278e3b 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -3,7 +3,7 @@
//
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2016 by Bill Spitzak and others.
+// Copyright 1998-2017 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -81,13 +81,6 @@ void fl_cleanup_dc_list(void);
#if !defined(NO_TRACK_MOUSE)
# include <commctrl.h> // TrackMouseEvent
-// fabien: Ms Visual Studio >= 2003 permit embedded lib reference
-// that makes fltk use easier as only fltk libs are now requested
-// This idea could be extended to fltk libs themselves,
-// implementer should then care about DLL linkage flags ...
-# if defined(_MSC_VER) && (_MSC_VER>=1310)
-# pragma comment (lib, "comctl32.lib")
-# endif
#endif
#if defined(__GNUC__)