From b376a4ad1848d1319245f440c85ef265e1fef401 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 23 Nov 1993 17:53:17 +0000 Subject: * timemodule.c: Add hack for Solaris 2. * posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function. --- Modules/arraymodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/arraymodule.c') diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 5b62fee4c0..925a52d2ef 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -37,7 +37,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. extern char *memcpy(); #endif -#ifdef sun +#if defined(sun) && !defined(__STDC__) /* SunOS doesn't have memmove */ #define NEED_MEMMOVE extern char *memcpy(); -- cgit v1.2.1