| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9041,14 +9041,10 @@ fi | |||
| 9041 | 9041 | ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" | |
| 9042 | 9042 | if test "x$ac_cv_type_ssize_t" = xyes; then : | |
| 9043 | 9043 | ||
| 9044 | - $as_echo "#define HAVE_SSIZE_T 1" >>confdefs.h | ||
| 9045 | - | ||
| 9046 | - fi | ||
| 9047 | - | ||
| 9048 | - ac_fn_c_check_type "$LINENO" "__uint128_t" "ac_cv_type___uint128_t" "$ac_includes_default" | ||
| 9049 | - if test "x$ac_cv_type___uint128_t" = xyes; then : | ||
| 9044 | + cat >>confdefs.h <<_ACEOF | ||
| 9045 | + #define HAVE_SSIZE_T 1 | ||
| 9046 | + _ACEOF | ||
| 9050 | 9047 | ||
| 9051 | - $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h | ||
| 9052 | 9048 | ||
| 9053 | 9049 | fi | |
| 9054 | 9050 | ||
@@ -19908,20 +19904,27 @@ $as_echo "#define PY_FORMAT_SIZE_T \"z\"" >>confdefs.h | |||
| 19908 | 19904 | fi | |
| 19909 | 19905 | ||
| 19910 | 19906 | ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" " | |
| 19911 | - #ifdef HAVE_SYS_TYPES_H | ||
| 19912 | - #include <sys/types.h> | ||
| 19913 | - #endif | ||
| 19914 | - #ifdef HAVE_SYS_SOCKET_H | ||
| 19915 | - #include <sys/socket.h> | ||
| 19916 | - #endif | ||
| 19907 | + #ifdef HAVE_SYS_TYPES_H | ||
| 19908 | + # include <sys/types.h> | ||
| 19909 | + #endif | ||
| 19910 | + #ifdef HAVE_SYS_SOCKET_H | ||
| 19911 | + # include <sys/socket.h> | ||
| 19912 | + #endif | ||
| 19917 | 19913 | ||
| 19918 | 19914 | " | |
| 19919 | 19915 | if test "x$ac_cv_type_socklen_t" = xyes; then : | |
| 19920 | 19916 | ||
| 19917 | + cat >>confdefs.h <<_ACEOF | ||
| 19918 | + #define HAVE_SOCKLEN_T 1 | ||
| 19919 | + _ACEOF | ||
| 19920 | + | ||
| 19921 | + | ||
| 19921 | 19922 | else | |
| 19922 | 19923 | ||
| 19924 | + | ||
| 19923 | 19925 | $as_echo "#define socklen_t int" >>confdefs.h | |
| 19924 | 19926 | ||
| 19927 | + | ||
| 19925 | 19928 | fi | |
| 19926 | 19929 | ||
| 19927 | 19930 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2392,10 +2392,7 @@ AC_DEFINE_UNQUOTED([RETSIGTYPE],[void],[assume C89 semantics that RETSIGTYPE is | |||
| 2392 | 2392 | AC_TYPE_SIZE_T | |
| 2393 | 2393 | AC_TYPE_UID_T | |
| 2394 | 2394 | ||
| 2395 | - AC_CHECK_TYPE(ssize_t, | ||
| 2396 | - AC_DEFINE(HAVE_SSIZE_T, 1, [Define if your compiler provides ssize_t]),,) | ||
| 2397 | - AC_CHECK_TYPE(__uint128_t, | ||
| 2398 | - AC_DEFINE(HAVE_GCC_UINT128_T, 1, [Define if your compiler provides __uint128_t]),,) | ||
| 2395 | + AC_CHECK_TYPES([ssize_t]) | ||
| 2399 | 2396 | ||
| 2400 | 2397 | # Sizes and alignments of various common basic types | |
| 2401 | 2398 | # ANSI C requires sizeof(char) == 1, so no need to check it | |
@@ -5646,15 +5643,18 @@ if test "$ac_cv_have_size_t_format" != no ; then | |||
| 5646 | 5643 | [Define to printf format modifier for Py_ssize_t]) | |
| 5647 | 5644 | fi | |
| 5648 | 5645 | ||
| 5649 | - AC_CHECK_TYPE(socklen_t,, | ||
| 5650 | - AC_DEFINE(socklen_t,int, | ||
| 5651 | - [Define to `int' if <sys/socket.h> does not define.]),[ | ||
| 5652 | - #ifdef HAVE_SYS_TYPES_H | ||
| 5653 | - #include <sys/types.h> | ||
| 5654 | - #endif | ||
| 5655 | - #ifdef HAVE_SYS_SOCKET_H | ||
| 5656 | - #include <sys/socket.h> | ||
| 5657 | - #endif | ||
| 5646 | + AC_CHECK_TYPES([socklen_t], [], [ | ||
| 5647 | + AC_DEFINE( | ||
| 5648 | + [socklen_t], [int], | ||
| 5649 | + [Define to `int' if <sys/socket.h> does not define.] | ||
| 5650 | + ) | ||
| 5651 | + ], [ | ||
| 5652 | + #ifdef HAVE_SYS_TYPES_H | ||
| 5653 | + # include <sys/types.h> | ||
| 5654 | + #endif | ||
| 5655 | + #ifdef HAVE_SYS_SOCKET_H | ||
| 5656 | + # include <sys/socket.h> | ||
| 5657 | + #endif | ||
| 5658 | 5658 | ]) | |
| 5659 | 5659 | ||
| 5660 | 5660 | AC_CACHE_CHECK([for broken mbstowcs], [ac_cv_broken_mbstowcs], | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -420,9 +420,6 @@ | |||
| 420 | 420 | */ | |
| 421 | 421 | #undef HAVE_GCC_ASM_FOR_X87 | |
| 422 | 422 | ||
| 423 | - /* Define if your compiler provides __uint128_t */ | ||
| 424 | - #undef HAVE_GCC_UINT128_T | ||
| 425 | - | ||
| 426 | 423 | /* Define to 1 if you have the <gdbm-ndbm.h> header file. */ | |
| 427 | 424 | #undef HAVE_GDBM_DASH_NDBM_H | |
| 428 | 425 | ||
@@ -1070,13 +1067,16 @@ | |||
| 1070 | 1067 | /* Define if you have the 'socketpair' function. */ | |
| 1071 | 1068 | #undef HAVE_SOCKETPAIR | |
| 1072 | 1069 | ||
| 1070 | + /* Define to 1 if the system has the type `socklen_t'. */ | ||
| 1071 | + #undef HAVE_SOCKLEN_T | ||
| 1072 | + | ||
| 1073 | 1073 | /* Define to 1 if you have the <spawn.h> header file. */ | |
| 1074 | 1074 | #undef HAVE_SPAWN_H | |
| 1075 | 1075 | ||
| 1076 | 1076 | /* Define to 1 if you have the `splice' function. */ | |
| 1077 | 1077 | #undef HAVE_SPLICE | |
| 1078 | 1078 | ||
| 1079 | - /* Define if your compiler provides ssize_t */ | ||
| 1079 | + /* Define to 1 if the system has the type `ssize_t'. */ | ||
| 1080 | 1080 | #undef HAVE_SSIZE_T | |
| 1081 | 1081 | ||
| 1082 | 1082 | /* Define to 1 if you have the `statvfs' function. */ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments