comparison src/DLD-FUNCTIONS/__fltk_uigetfile__.cc @ 13721:ca90a6d59ab6

Prevent auto-inclusion of winsock.h in WIN32. * DLD-FUNCTIONS/__fltk_uigetfile__.cc: Define WIN32_LEAN_AND_MEAN. * DLD-FUNCTIONS/__init_fltk__.cc: Likewise.
author Michael Goffioul <michael.goffioul@gmail.com>
date Wed, 19 Oct 2011 12:11:40 +0100
parents 3641167e5b75
children 72c96de7a403
comparison
equal deleted inserted replaced
13720:8fb563d14d2f 13721:ca90a6d59ab6
23 #ifdef HAVE_CONFIG_H 23 #ifdef HAVE_CONFIG_H
24 #include <config.h> 24 #include <config.h>
25 #endif 25 #endif
26 26
27 #if defined (HAVE_FLTK) 27 #if defined (HAVE_FLTK)
28
29 #ifdef WIN32
30 #define WIN32_LEAN_AND_MEAN
31 #endif
28 32
29 #include <FL/Fl.H> 33 #include <FL/Fl.H>
30 #include <FL/Fl_File_Chooser.H> 34 #include <FL/Fl_File_Chooser.H>
31 35
32 // FLTK headers may include X11/X.h which defines Complex, and that 36 // FLTK headers may include X11/X.h which defines Complex, and that