[Gtkradiant] [Bug 963] libs/multimon.h stubs are not getting compiled
Fri, 19 Dec 2003 03:47:41 -0600
------- Additional Comments From email@example.com 2003-12-19 03:47 -------
Eh no, the patch allows *running* on NT4 (and 95), regardless of build platform.
It allows allows running and correct functioning on modern OSes.
When multimon.h is correctly compiled, it creates wrappers for the various
multimonitor functions. It tries to dynamically load them from user32.dll, and
if they are not found, uses dumb single monitor stub versions instead. Radiant
is staticly linked to the multimon.h functions, rather than the ones in
user32.dll, and so can load even if those functions don't exist. multimon.h
originally comes from the microsoft SDK for exactly this purpose, but the
version in the radiant tree was busted for some reason.
In the current unpatched code, none of this even gets compiled, except maybe if
you are compiling with really old headers (from before the multimonitor
functions were introduced)
If it is OK with you that radiant cannot run on NT4 or 95, that is up to you,
but it seems a bit pointless since the code is already there to make them work.