summaryrefslogtreecommitdiff
path: root/src/fl_dnd_win32.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2010-11-11 08:38:36 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2010-11-11 08:38:36 +0000
commit3cf2305b5c326ef7d15e7eaf37302a6853bddabc (patch)
tree609fde6986164f92ac80e1bb527cd31f9b34aa5f /src/fl_dnd_win32.cxx
parentdb8d9893eb37443d27bc6fe96b01adf5013c46c6 (diff)
removed support for gcc 2.x (or older), as discussed in fltk.development
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_dnd_win32.cxx')
-rw-r--r--src/fl_dnd_win32.cxx11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/fl_dnd_win32.cxx b/src/fl_dnd_win32.cxx
index 12caa280a..cf20365cb 100644
--- a/src/fl_dnd_win32.cxx
+++ b/src/fl_dnd_win32.cxx
@@ -54,9 +54,6 @@ extern unsigned int fl_codepage;
Fl_Window *fl_dnd_target_window = 0;
-// All of the following code requires GCC 3.x or a non-GNU compiler...
-#if !defined(__GNUC__) || __GNUC__ >= 3
-
#include <ole2.h>
#include <shellapi.h>
#include <shlobj.h>
@@ -519,14 +516,6 @@ int Fl::dnd()
if ( ret==DRAGDROP_S_DROP ) return 1; // or DD_S_CANCEL
return 0;
}
-#else
-int Fl::dnd()
-{
- // Always indicate DnD failed when using GCC < 3...
- return 1;
-}
-#endif // !__GNUC__ || __GNUC__ >= 3
-
//
// End of "$Id$".