[Python-checkins] python/dist/src/Modules/expat xmlparse.c,1.3,1.4
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sun, 26 Jan 2003 00:40:52 -0800
Update of /cvsroot/python/python/dist/src/Modules/expat
In directory sc8-pr-cvs1:/tmp/cvs-serv10557/Modules/expat
Modified Files:
xmlparse.c
Log Message:
Undo inclusion of Python.h. Remove HAVE_MEMCPY section.
Update Windows command line.
Index: xmlparse.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/expat/xmlparse.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** xmlparse.c 25 Jan 2003 22:41:29 -0000 1.3
--- xmlparse.c 26 Jan 2003 08:40:46 -0000 1.4
***************
*** 3,9 ****
*/
- /* Added to look for memcpy */
- #include <Python.h>
-
#include <stddef.h>
#include <string.h> /* memset(), memcpy() */
--- 3,6 ----
***************
*** 86,98 ****
/* Round up n to be a multiple of sz, where sz is a power of 2. */
#define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1))
-
- /* Handle the case where memmove() doesn't exist. */
- #ifndef HAVE_MEMMOVE
- #ifdef HAVE_BCOPY
- #define memmove(d,s,l) bcopy((s),(d),(l))
- #else
- #error memmove does not exist on this platform, nor is a substitute available
- #endif /* HAVE_BCOPY */
- #endif /* HAVE_MEMMOVE */
#include "internal.h"
--- 83,86 ----