This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Integrating Win32 changes


>>>>> "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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]