[Python-checkins] CVS: python/dist/src/Python dynload_shlib.c,2.10,2.11

Martin v. L?wis loewis@users.sourceforge.net
2001年10月18日 04:45:21 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv25029
Modified Files:
	dynload_shlib.c 
Log Message:
Patch to bug #472202: Correctly recognize NetBSD before 199712.
Index: dynload_shlib.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/dynload_shlib.c,v
retrieving revision 2.10
retrieving revision 2.11
diff -C2 -d -r2.10 -r2.11
*** dynload_shlib.c	2001年09月05日 14:24:43	2.10
--- dynload_shlib.c	2001年10月18日 11:45:19	2.11
***************
*** 7,11 ****
 #include <sys/types.h>
 #include <sys/stat.h>
! #if defined(__NetBSD__) && (NetBSD < 199712)
 #include <nlist.h>
 #include <link.h>
--- 7,13 ----
 #include <sys/types.h>
 #include <sys/stat.h>
! #if defined(__NetBSD__)
! #include <sys/param.h>
! #if (NetBSD < 199712)
 #include <nlist.h>
 #include <link.h>
***************
*** 16,21 ****
 #endif
 #endif
 
! #if defined(__OpenBSD__) && !defined(__ELF__)
 #define LEAD_UNDERSCORE "_"
 #else
--- 18,24 ----
 #endif
 #endif
+ #endif /* NetBSD */
 
! #if (defined(__OpenBSD__) || defined(__NetBSD__)) && !defined(__ELF__)
 #define LEAD_UNDERSCORE "_"
 #else

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