Commit d6275471 by Adam Megacz Committed by Adam Megacz

natInetAddress.cc: Changed USE_WINSOCK to WIN32, added '#undef STRICT'.

2002-02-27  Adam Megacz <adam@xwt.org>

        * java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
        '#undef STRICT'.

From-SVN: r50120
parent 273cf2e4
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__.
......
......@@ -10,16 +10,17 @@ details. */
#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>
......@@ -42,7 +43,7 @@ details. */
#include <netdb.h>
#endif
#endif /* USE_WINSOCK */
#endif /* WIN32 */
#include <gcj/cni.h>
#include <jvm.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment