diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2010-01-24 11:45:36 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2010-01-24 11:45:36 +0000 |
| commit | 8af182fe51e35767ac1735d86390a7f3a6df19b7 (patch) | |
| tree | 62a5f01ee959fc352c513131c024bb1acd79f814 | |
| parent | 1eb95cd823c973975d4bdff1c74571d1ea657372 (diff) | |
Without knowing Cygwin, this seems to make more sense to me?!
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7030 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | src/Fl_Preferences.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Preferences.cxx b/src/Fl_Preferences.cxx index d29a1b6b8..26aba6846 100644 --- a/src/Fl_Preferences.cxx +++ b/src/Fl_Preferences.cxx @@ -1840,7 +1840,7 @@ int Fl_Plugin_Manager::load(const char *filename) { // the functions below will autmaticaly load plugins that are defined: // Fl_My_Plugin plugin(); -#ifdef WIN32 +#if defined(WIN32) && !defined(__CYGWIN__) HMODULE dl = LoadLibrary(filename); #else void * dl = dlopen(filename, RTLD_LAZY); |
