aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2002-03-03 20:11:42 +0000
committerRichard M. Stallman2002-03-03 20:11:42 +0000
commit7109132248e4d20f0cbf7d53339ac9761380783c (patch)
treed010e6869a6865da45ee348658304d8c8714eae2 /src
parentd8eb23bd4017f3b35844ed814c8e4788f9f31b24 (diff)
downloademacs-7109132248e4d20f0cbf7d53339ac9761380783c.tar.gz
emacs-7109132248e4d20f0cbf7d53339ac9761380783c.zip
[!emacs]: Move #define of bcopy to after string.h.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/tparam.c8
2 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1db79cfc82c..13b73240d71 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12002-03-03 Gary Wong <gtw@gnu.org>
2
3 * termcap.c [!emacs]: Replace ospeed for building standalone
4 libtermcap, for binary compatibility.
5
6 * tparam.c [!emacs]: Move #define of bcopy to after string.h.
7
12002-03-03 Richard M. Stallman <rms@gnu.org> 82002-03-03 Richard M. Stallman <rms@gnu.org>
2 9
3 * xrdb.c (file_p): Rename arg `path' to `filename'. 10 * xrdb.c (file_p): Rename arg `path' to `filename'.
diff --git a/src/tparam.c b/src/tparam.c
index 0548c722198..5a9809aab47 100644
--- a/src/tparam.c
+++ b/src/tparam.c
@@ -24,9 +24,6 @@ Boston, MA 02111-1307, USA. */
24#ifdef emacs 24#ifdef emacs
25#include "lisp.h" /* for xmalloc */ 25#include "lisp.h" /* for xmalloc */
26#else 26#else
27#if defined(HAVE_STRING_H) || defined(STDC_HEADERS)
28#define bcopy(s, d, n) memcpy ((d), (s), (n))
29#endif
30 27
31#ifdef STDC_HEADERS 28#ifdef STDC_HEADERS
32#include <stdlib.h> 29#include <stdlib.h>
@@ -36,6 +33,11 @@ char *malloc ();
36char *realloc (); 33char *realloc ();
37#endif 34#endif
38 35
36/* Do this after the include, in case string.h prototypes bcopy. */
37#if (defined(HAVE_STRING_H) || defined(STDC_HEADERS)) && !defined(bcopy)
38#define bcopy(s, d, n) memcpy ((d), (s), (n))
39#endif
40
39#endif /* not emacs */ 41#endif /* not emacs */
40 42
41#ifndef NULL 43#ifndef NULL