[Python-checkins] python/dist/src/Python dynload_aix.c,2.13,2.14

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
2003年3月22日 08:35:39 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv29905/Python
Modified Files:
	dynload_aix.c 
Log Message:
Include Python.h first which defines _XOPEN_SOURCE
which allows the file to compile and removes a warning about _XOPEN_SOURCE
being redefined (works on AIX 4.3 and 5.1 at least).
Index: dynload_aix.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_aix.c,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -d -r2.13 -r2.14
*** dynload_aix.c	31 Dec 2002 00:06:24 -0000	2.13
--- dynload_aix.c	22 Mar 2003 16:35:37 -0000	2.14
***************
*** 2,5 ****
--- 2,8 ----
 /* Support for dynamic loading of extension modules */
 
+ #include "Python.h"
+ #include "importdl.h"
+ 
 #include <ctype.h>	/* for isdigit()	 */
 #include <errno.h>	/* for global errno */
***************
*** 7,13 ****
 #include <stdlib.h>	/* for malloc(), free() */
 #include <sys/ldr.h>
- 
- #include "Python.h"
- #include "importdl.h"
 
 
--- 10,13 ----

AltStyle によって変換されたページ (->オリジナル) /