> What I means was define WIN32 somewhere. It seems that it is > not defined anymore by default in VC2010.
Yup - the MS tools seem to set some variations on _WIN32 etc. with various "underscore" decorations, but not the "plain" WIN32 define. So you probably need to either add it as a define in the project settings (no idea how to do that in VC2010) or add it to a header file that is used throughout your project, something along the lines of... #ifdef _WIN32 # ifndef WIN32 # define WIN32 # endif #endif Works fine for me... Note that (AFAIK) mingw (and I think cygwin) do define a "plain" WIN32 still. SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

