mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-11 05:23:55 +08:00
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
This commit is contained in:
parent
273cf2e462
commit
d627547118
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user