• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GCC with patches for OS216


Commit MetaInfo

Revision80df8af2a6cc40642ef5b9d1d34d3b476bc969ba (tree)
Zeit1999-08-21 22:35:04
AutorAlexandre Oliva <oliva@gcc....>
CommiterAlexandre Oliva

Log Message

Change in_addr_t default to jint

From-SVN: r28795

Ändern Zusammenfassung

Diff

--- a/libjava/acconfig.h
+++ b/libjava/acconfig.h
@@ -58,7 +58,7 @@
5858 /* Define to `int' if `ssize_t' is not defined. */
5959 #undef ssize_t
6060
61-/* Define to `struct in_addr' if `in_addr_t' is not defined. */
61+/* Define to `jint' if `in_addr_t' is not defined. */
6262 #undef in_addr_t
6363
6464 /* Define if inet6 structures are defined in netinet/in.h. */
--- a/libjava/configure
+++ b/libjava/configure
@@ -4462,7 +4462,7 @@ fi
44624462 echo "$ac_t""$ac_cv_type_in_addr_t" 1>&6
44634463 if test $ac_cv_type_in_addr_t = no; then
44644464 cat >> confdefs.h <<\EOF
4465-#define in_addr_t struct in_addr
4465+#define in_addr_t jint
44664466 EOF
44674467
44684468 fi
--- a/libjava/configure.in
+++ b/libjava/configure.in
@@ -518,7 +518,7 @@ dnl for now. If you change this, you also must update natFile.cc.
518518 AC_CHECK_HEADERS(dirent.h)
519519
520520 AC_CHECK_TYPE([ssize_t], [int])
521-AC_CHECK_TYPE([in_addr_t], [struct in_addr])
521+AC_CHECK_TYPE([in_addr_t], [jint])
522522
523523 AC_MSG_CHECKING([whether struct sockaddr_in6 is in netinet/in.h])
524524 AC_TRY_COMPILE([#include <netinet/in.h>], [struct sockaddr_in6 addr6;],
--- a/libjava/include/config.h.in
+++ b/libjava/include/config.h.in
@@ -73,7 +73,7 @@
7373 /* Define to `int' if `ssize_t' is not defined. */
7474 #undef ssize_t
7575
76-/* Define to `struct in_addr' if `in_addr_t' is not defined. */
76+/* Define to `jint' if `in_addr_t' is not defined. */
7777 #undef in_addr_t
7878
7979 /* Define if inet6 structures are defined in netinet/in.h. */