GCC with patches for OS216
Revision | 80df8af2a6cc40642ef5b9d1d34d3b476bc969ba (tree) |
---|---|
Zeit | 1999-08-21 22:35:04 |
Autor | Alexandre Oliva <oliva@gcc....> |
Commiter | Alexandre Oliva |
Change in_addr_t default to jint
From-SVN: r28795
@@ -58,7 +58,7 @@ | ||
58 | 58 | /* Define to `int' if `ssize_t' is not defined. */ |
59 | 59 | #undef ssize_t |
60 | 60 | |
61 | -/* Define to `struct in_addr' if `in_addr_t' is not defined. */ | |
61 | +/* Define to `jint' if `in_addr_t' is not defined. */ | |
62 | 62 | #undef in_addr_t |
63 | 63 | |
64 | 64 | /* Define if inet6 structures are defined in netinet/in.h. */ |
@@ -4462,7 +4462,7 @@ fi | ||
4462 | 4462 | echo "$ac_t""$ac_cv_type_in_addr_t" 1>&6 |
4463 | 4463 | if test $ac_cv_type_in_addr_t = no; then |
4464 | 4464 | cat >> confdefs.h <<\EOF |
4465 | -#define in_addr_t struct in_addr | |
4465 | +#define in_addr_t jint | |
4466 | 4466 | EOF |
4467 | 4467 | |
4468 | 4468 | fi |
@@ -518,7 +518,7 @@ dnl for now. If you change this, you also must update natFile.cc. | ||
518 | 518 | AC_CHECK_HEADERS(dirent.h) |
519 | 519 | |
520 | 520 | AC_CHECK_TYPE([ssize_t], [int]) |
521 | -AC_CHECK_TYPE([in_addr_t], [struct in_addr]) | |
521 | +AC_CHECK_TYPE([in_addr_t], [jint]) | |
522 | 522 | |
523 | 523 | AC_MSG_CHECKING([whether struct sockaddr_in6 is in netinet/in.h]) |
524 | 524 | AC_TRY_COMPILE([#include <netinet/in.h>], [struct sockaddr_in6 addr6;], |
@@ -73,7 +73,7 @@ | ||
73 | 73 | /* Define to `int' if `ssize_t' is not defined. */ |
74 | 74 | #undef ssize_t |
75 | 75 | |
76 | -/* Define to `struct in_addr' if `in_addr_t' is not defined. */ | |
76 | +/* Define to `jint' if `in_addr_t' is not defined. */ | |
77 | 77 | #undef in_addr_t |
78 | 78 | |
79 | 79 | /* Define if inet6 structures are defined in netinet/in.h. */ |