summaryrefslogtreecommitdiffstats
path: root/PC/os2emx/pyconfig.h
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-07-23 12:57:02 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2006-07-23 12:57:02 (GMT)
commitbb4503716f27ca2cf20937f08ee4f9272a0bd071 (patch)
treea67be714c933a6d8cc1aeba73c96d27edc8db423 /PC/os2emx/pyconfig.h
parent8133f9da1756adaee5548015528f8e2f0ff3f8d4 (diff)
downloadcpython-bb4503716f27ca2cf20937f08ee4f9272a0bd071.zip
cpython-bb4503716f27ca2cf20937f08ee4f9272a0bd071.tar.gz
cpython-bb4503716f27ca2cf20937f08ee4f9272a0bd071.tar.bz2
Build updates for OS/2 EMX port
Diffstat (limited to 'PC/os2emx/pyconfig.h')
-rw-r--r--PC/os2emx/pyconfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/os2emx/pyconfig.h b/PC/os2emx/pyconfig.h
index 3d6e5f1..1039d3d 100644
--- a/PC/os2emx/pyconfig.h
+++ b/PC/os2emx/pyconfig.h
@@ -46,6 +46,7 @@
#define TCPIPV4 1
#define USE_SOCKET 1
#define socklen_t int
+#define FD_SETSIZE 1024
/* enable the Python object allocator */
#define WITH_PYMALLOC 1
@@ -61,6 +62,9 @@
#define PY_UNICODE_TYPE wchar_t
#define Py_UNICODE_SIZE SIZEOF_SHORT
+/* EMX defines ssize_t */
+#define HAVE_SSIZE_T 1
+
/* system capabilities */
#define HAVE_TTYNAME 1
#define HAVE_WAIT 1
@@ -137,6 +141,9 @@ typedef long intptr_t;
/* The number of bytes in a void *. */
#define SIZEOF_VOID_P 4
+/* The number of bytes in a size_t. */
+#define SIZEOF_SIZE_T 4
+
/* Define if you have the alarm function. */
#define HAVE_ALARM 1