Hi,

Using fltk 1.3.2, in filename.H there is near line :


#  if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && 
!defined(__WATCOMC__)

struct dirent
{
    char d_name[1];
};


which declare for WIN32 a fake struct dirent.

In case of using a os wrapper (like ACE for example), it broke the well 
define struct dirent.

can it be replace by :


#  if defined(WIN32) && !defined(__MINGW32__) && !defined(__CYGWIN__) && 
!defined(__WATCOMC__)

struct dirent;


to avoid redefining (badly dirent) ? (which is probably not use anyway 
for these define case)


Regards,
David
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to