[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs on solaris 9
From: |
Eli Zaretskii |
Subject: |
Re: emacs on solaris 9 |
Date: |
Sun, 27 Oct 2002 00:51:14 +0300 |
> From: Brad Walker <bwalker@musings.com>
> Date: Sat, 26 Oct 2002 13:11:25 -0700 (PDT)
>
> "/usr/include/strings.h", line 25: identifier redeclared: memmove
> current : function(pointer to void, pointer to const void, unsigned
> int)
> returning void
> previous: function(pointer to void, pointer to const void, unsigned
> int)
I think this is already fixed for the next version, but for now
please try this patch:
*** src/s/sol2-5.h 22 Nov 2000 10:37:31 -0000 1.13
--- src/s/sol2-5.h 17 Apr 2002 18:00:03 -0000
***************
*** 24,29 ****
--- 24,38 ----
#undef USE_MMAP_FOR_BUFFERS
+ #ifdef HAVE_BCOPY
+ #undef bcopy
+ #undef bzero
+ #undef bcmp
+ #ifndef NOT_C_CODE
+ #include <strings.h>
+ #endif
+ #endif
+
#if 0 /* A recent patch in unexelf.c should eliminate the need for this. */
/* Don't use the shared libraries for -lXt and -lXaw,
to work around a linker bug in Solaris 2.5.