Integrating Win32 changes

Tom Tromey tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:

Jeff> One could argue that WIN32 is a "feature" too, meaning the Win32
Jeff> API is available.

I see Windows as a family of features.  I don't think we need to have
a new macro for each member of the family, until we get to the point
where we need to conditionally compile depending on the target family
member (e.g., some API implemented on NT but not on WinCE).

Jeff> #if defined(WIN32) && !defined(__CYGWIN32__)
Jeff> ...
Jeff> #endif

This is a bit gross.  We could just introduce our own "Windows family"
macro and set it from configure.in as appropriate.

Tom


More information about the Java mailing list