This is the mail archive of the java-patches@gcc.gnu.org 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]
Other format: [Raw text]

Re: WIN-30: natInetAddress.cc fixlet


>>>>> "Adam" == Adam Megacz <patches@lists.megacz.com> writes:

Adam> 2002-02-27  Adam Megacz <adam@xwt.org>
Adam> * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
Adam> '#undef STRICT'.

One more thing about this patch...

Adam> +#ifdef WIN32
Adam>  #include <windows.h>
Adam>  #include <winsock.h>
Adam> +#undef STRICT
 
Would it make sense for us to change all this to just use platform.h?
We could scoop out all the #ifdef crud from several files and then
segregate it according to the platform.

This kind of thing doesn't matter for the branch.  I'm thinking about
the long-term maintenance on the trunk.

Tom


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