mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Undo inclusion of Python.h. Remove HAVE_MEMCPY section.
Update Windows command line.
This commit is contained in:
parent
eb9637ef7d
commit
c35d199404
2 changed files with 2 additions and 14 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue