build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Part of source_os2emx.patch in issue 3868:
Include/pystrcmp.h: OS/2 has same C APIs as Windows
Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test
Reviewed by Amaury Forgeot d'Arc
diff --git a/PC/os2emx/config.c b/PC/os2emx/config.c
index 696c3bb..408381c 100644
--- a/PC/os2emx/config.c
+++ b/PC/os2emx/config.c
@@ -52,12 +52,13 @@
extern void initbinascii();
extern void initcPickle();
extern void initcStringIO();
-extern void initcollections();
+extern void init_collections();
extern void initcmath();
extern void initdatetime();
extern void initdl();
extern void initerrno();
extern void initfcntl();
+extern void init_fileio();
extern void init_functools();
extern void init_heapq();
extern void initimageop();
@@ -65,7 +66,6 @@
extern void initmath();
extern void init_md5();
extern void initoperator();
-extern void initrgbimg();
extern void init_sha();
extern void init_sha256();
extern void init_sha512();
@@ -118,12 +118,13 @@
{"binascii", initbinascii},
{"cPickle", initcPickle},
{"cStringIO", initcStringIO},
- {"collections", initcollections},
+ {"_collections", init_collections},
{"cmath", initcmath},
{"datetime", initdatetime},
{"dl", initdl},
{"errno", initerrno},
{"fcntl", initfcntl},
+ {"_fileio", init_fileio},
{"_functools", init_functools},
{"_heapq", init_heapq},
{"imageop", initimageop},
@@ -131,7 +132,6 @@
{"math", initmath},
{"_md5", init_md5},
{"operator", initoperator},
- {"rgbimg", initrgbimg},
{"_sha", init_sha},
{"_sha256", init_sha256},
{"_sha512", init_sha512},