Mat Nieuwenhoven wrote:
> Hi,
> 
> I synced today fltk-1.1 to revision 6791 . When building with Watcom 1.8,
> it complained about a missing multimon.h , which is included from
> screen_xywh.cxx . I cannot find multimon.h in the fltk-1.1 tree on disk. Is
> my source out of sync or is something else wrong?

No, multimon.h is a MS-Windows header file:

http://msdn.microsoft.com/en-us/library/dd162727(VS.85).aspx

But this should only be included, if you compile on a very
old Windows system (before 2000/XP) - or some symbols are
not defined as expected for your Watcom build.

If nothing else is wrong, then you can maybe fix it by
changing line 38 of screen_xywh.cxx from:

#  if !defined(HMONITOR_DECLARED) && (_WIN32_WINNT < 0x0500)

to:

#  if !defined(HMONITOR_DECLARED) && (_WIN32_WINNT < 0x0500) && 
!defined(__WATCOMC__)

(this is intended to be one line).

No guarantees that nothing else will be broken with this,
it's just a guess...

Please give feedback, if this works, or if there are any
more errors, so that we can fix it.

Does everything else compile with Watcom? On which Windows
version are you compiling ?

And, just for curiosity: what was your last used FLTK
version? This multimon.h include is in there at least
since 2005.

Thanks for feedback

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

Reply via email to