diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-01-26 08:40:50 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-01-26 08:40:50 (GMT) |
commit | c35d199404d8a9c529c56f875f05d05b7b58ca6c (patch) | |
tree | a271cbe2ecf462c36ad0c23f636d6f41ac975ca5 /Modules/expat/xmlparse.c | |
parent | eb9637ef7de5693d1acba5809af7fa62aa1fff2c (diff) | |
download | cpython-c35d199404d8a9c529c56f875f05d05b7b58ca6c.zip cpython-c35d199404d8a9c529c56f875f05d05b7b58ca6c.tar.gz cpython-c35d199404d8a9c529c56f875f05d05b7b58ca6c.tar.bz2 |
Undo inclusion of Python.h. Remove HAVE_MEMCPY section.
Update Windows command line.
Diffstat (limited to 'Modules/expat/xmlparse.c')
-rw-r--r-- | Modules/expat/xmlparse.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c index c465446..b54d2bf 100644 --- a/Modules/expat/xmlparse.c +++ b/Modules/expat/xmlparse.c @@ -2,9 +2,6 @@ See the file COPYING for copying permission. */ -/* Added to look for memcpy */ -#include <Python.h> - #include <stddef.h> #include <string.h> /* memset(), memcpy() */ @@ -86,15 +83,6 @@ typedef char ICHAR; /* 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" #include "xmltok.h" #include "xmlrole.h" |