summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-03-31 18:54:45 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-03-31 18:54:45 +0200
commitbbe95085d4e4cc1efc26d236c29edcc9714a1524 (patch)
tree0304fecf7b62c548b19e6ae823d0aee690e193b2 /sys/src/cmd/python
parentb6dc4ba5a44a2ed2a68266598ceb28b7a7d51af2 (diff)
python: update python build configuration to new ape capabilities like getaddrinfo(), ipv6 and fix EISCON typo in ape
Diffstat (limited to 'sys/src/cmd/python')
-rw-r--r--sys/src/cmd/python/pyconfig.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/sys/src/cmd/python/pyconfig.h b/sys/src/cmd/python/pyconfig.h
index ff951cc24..c586448f0 100644
--- a/sys/src/cmd/python/pyconfig.h
+++ b/sys/src/cmd/python/pyconfig.h
@@ -44,16 +44,12 @@ typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned long u_long;
-#define EISCONN 63
-
-#define FD_SETSIZE 96 /* see /sys/include/ape/sys/select.h */
-
#define SIGWINCH 21 /* for curses */
#define S_ISSOCK S_ISFIFO /* for hg, see /sys/include/ape/sys/stat.h */
/* Define if --enable-ipv6 is specified */
-/* #undef ENABLE_IPV6 */
+#define ENABLE_IPV6 1
/* Define if getpgrp() must be called as getpgrp(0). */
/* #define GETPGRP_HAVE_ARG 1 */
@@ -63,7 +59,7 @@ typedef unsigned long u_long;
/* #undef GETTIMEOFDAY_NO_TZ */
/* struct addrinfo (netdb.h) */
-/* #define HAVE_ADDRINFO 1 */
+#define HAVE_ADDRINFO 1
/* Define to 1 if you have the `alarm' function. */
#define HAVE_ALARM 1
@@ -197,10 +193,10 @@ typedef unsigned long u_long;
#define HAVE_FTRUNCATE 1
/* Define to 1 if you have the `gai_strerror' function. */
-/* #undef HAVE_GAI_STRERROR */
+#define HAVE_GAI_STRERROR 1
/* Define if you have the getaddrinfo function. */
-/* #undef HAVE_GETADDRINFO */
+#define HAVE_GETADDRINFO 1
/* Define to 1 if you have the `getcwd' function. */
#define HAVE_GETCWD 1
@@ -232,7 +228,7 @@ typedef unsigned long u_long;
#define HAVE_GETLOGIN 1
/* Define to 1 if you have the `getnameinfo' function. */
-/* #undef HAVE_GETNAMEINFO */
+#define HAVE_GETNAMEINFO 1
/* Define if you have the 'getpagesize' function. */
/* #undef HAVE_GETPAGESIZE */
@@ -283,7 +279,7 @@ typedef unsigned long u_long;
/* #undef HAVE_INET_ATON */
/* Define if you have the 'inet_pton' function. */
-/* #undef HAVE_INET_PTON */
+#define HAVE_INET_PTON 1
/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1