2002-02-27 Adam Megacz <adam@xwt.org>
* java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
'#undef STRICT'.
From-SVN: r50120
+2002-02-27 Adam Megacz <adam@xwt.org>
+
+ * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
+ '#undef STRICT'.
+
2002-02-26 Tom Tromey <tromey@redhat.com>
* java/lang/natSystem.cc (init_properties): Use __VERSION__.
#include <config.h>
-#ifdef USE_WINSOCK
+#ifdef WIN32
#include <windows.h>
#include <winsock.h>
+#undef STRICT
#ifndef MAXHOSTNAMELEN
#define MAXHOSTNAMELEN 64
#endif /* MAXHOSTNAMELEN */
-#else
+#else /* WIN32 */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <netdb.h>
#endif
-#endif /* USE_WINSOCK */
+#endif /* WIN32 */
#include <gcj/cni.h>
#include <jvm.h>