Contents of /trunk/pyxml/patches/pyxml-0.8.4-memmove.patch
Parent Directory | Revision Log
Revision 1632 -
(show annotations)
(download)
Wed Jan 25 23:30:30 2012 UTC (12 years, 8 months ago) by niro
File size: 664 byte(s)
Wed Jan 25 23:30:30 2012 UTC (12 years, 8 months ago) by niro
File size: 664 byte(s)
-build fixes
1 | --- PyXML-0.8.4/extensions/expat/lib/xmlparse.c.lr 2006-07-27 15:08:44.000000000 +0200 |
2 | +++ PyXML-0.8.4/extensions/expat/lib/xmlparse.c 2006-07-27 15:09:03.000000000 +0200 |
3 | @@ -67,15 +67,6 @@ |
4 | /* Round up n to be a multiple of sz, where sz is a power of 2. */ |
5 | #define ROUND_UP(n, sz) (((n) + ((sz) - 1)) & ~((sz) - 1)) |
6 | |
7 | -/* Handle the case where memmove() doesn't exist. */ |
8 | -#ifndef HAVE_MEMMOVE |
9 | -#ifdef HAVE_BCOPY |
10 | -#define memmove(d,s,l) bcopy((s),(d),(l)) |
11 | -#else |
12 | -#error memmove does not exist on this platform, nor is a substitute available |
13 | -#endif /* HAVE_BCOPY */ |
14 | -#endif /* HAVE_MEMMOVE */ |
15 | - |
16 | #include "internal.h" |
17 | #include "xmltok.h" |
18 | #include "xmlrole.h" |