Skip to content

Commit c35d199

Browse files
committed
Undo inclusion of Python.h. Remove HAVE_MEMCPY section.
Update Windows command line.
1 parent eb9637e commit c35d199

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

Modules/expat/xmlparse.c

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
See the file COPYING for copying permission.
33
*/
44

5-
/* Added to look for memcpy */
6-
#include <Python.h>
7-
85
#include <stddef.h>
96
#include <string.h> /* memset(), memcpy() */
107

@@ -86,15 +83,6 @@ typedef char ICHAR;
8683
/* Round up n to be a multiple of sz, where sz is a power of 2. */
8784
#define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1))
8885

89-
/* Handle the case where memmove() doesn't exist. */
90-
#ifndef HAVE_MEMMOVE
91-
#ifdef HAVE_BCOPY
92-
#define memmove(d,s,l) bcopy((s),(d),(l))
93-
#else
94-
#error memmove does not exist on this platform, nor is a substitute available
95-
#endif /* HAVE_BCOPY */
96-
#endif /* HAVE_MEMMOVE */
97-
9886
#include "internal.h"
9987
#include "xmltok.h"
10088
#include "xmlrole.h"

PCbuild/pyexpat.dsp

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)