]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/cmd/python/pyconfig.h
python: arm64 support
[plan9front.git] / sys / src / cmd / python / pyconfig.h
index ff951cc24685c0f9dd1e902f3b1f0b9b51175f05..f5c8f06fe6ea416771ca5368a766c988d3ba2ec0 100644 (file)
@@ -17,7 +17,7 @@
 
 typedef struct Threadarg Threadarg;
 
-#if defined(T386) || defined(Talpha) || defined(Tarm) || defined(Tpower)
+#if defined(T386) || defined(Tarm) || defined(Tarm64) || defined(Tpower) || defined(Tamd64) || defined(Tspim)
 #undef WORDS_BIGENDIAN
 #elif defined(Tmips) || defined(Tsparc)
 #define WORDS_BIGENDIAN
@@ -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 */
@@ -280,10 +276,10 @@ typedef unsigned long u_long;
 #define HAVE_HYPOT 1
 
 /* Define if you have the 'inet_aton' function. */
-/* #undef HAVE_INET_ATON */
+#define HAVE_INET_ATON 1
 
 /* 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
@@ -424,7 +420,7 @@ typedef unsigned long u_long;
 #define HAVE_PUTENV 1
 
 /* Define to 1 if you have the `readlink' function. */
-#define HAVE_READLINK 1
+/* #define HAVE_READLINK 1 */
 
 /* Define to 1 if you have the `realpath' function. */
 /* #undef HAVE_REALPATH */
@@ -527,7 +523,7 @@ typedef unsigned long u_long;
 #define HAVE_STDARG_PROTOTYPES 1
 
 /* Define to 1 if you have the <stdint.h> header file. */
-/* #undef HAVE_STDINT_H */
+#define HAVE_STDINT_H 1
 
 /* Define to 1 if you have the <stdlib.h> header file. */
 #define HAVE_STDLIB_H 1
@@ -576,7 +572,7 @@ typedef unsigned long u_long;
 /* #undef HAVE_ST_BLOCKS */
 
 /* Define if you have the 'symlink' function. */
-#define HAVE_SYMLINK 1
+/* #define HAVE_SYMLINK 1 */
 
 /* Define to 1 if you have the `sysconf' function. */
 #define HAVE_SYSCONF 1
@@ -695,6 +691,7 @@ typedef unsigned long u_long;
 /* Define to 1 if you don't have `tm_zone' but do have the external array
    `tzname'. */
 #define HAVE_TZNAME 1
+#define HAVE_ALTZONE 1
 
 /* Define this if you have tcl and TCL_UTF_MAX==6 */
 /* #undef HAVE_UCS4_TCL */