[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/s/sol2-5.h
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/s/sol2-5.h |
Date: |
Fri, 19 Apr 2002 07:36:16 -0400 |
Index: emacs/src/s/sol2-5.h
diff -c emacs/src/s/sol2-5.h:1.13 emacs/src/s/sol2-5.h:1.14
*** emacs/src/s/sol2-5.h:1.13 Wed Nov 22 05:37:31 2000
--- emacs/src/s/sol2-5.h Fri Apr 19 06:11:57 2002
***************
*** 24,29 ****
--- 24,41 ----
#undef USE_MMAP_FOR_BUFFERS
+ /* Newer versions of Solaris have bcopy etc. as functions, with
+ prototypes in strings.h. They lose if the defines from usg5-4.h
+ are visible, which happens when X headers are included. */
+ #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.