aboutsummaryrefslogtreecommitdiffstats
path: root/src/tparam.c
diff options
context:
space:
mode:
authorDavid J. MacKenzie1995-09-02 23:47:41 +0000
committerDavid J. MacKenzie1995-09-02 23:47:41 +0000
commitc70c27055d0cd10097196099b5429af2e9638d08 (patch)
treeadc1a5074b23ae29c0c408a813d5056631cfaccf /src/tparam.c
parentbccfd93664e262dcdb92eb820a2d8d83d018452d (diff)
downloademacs-c70c27055d0cd10097196099b5429af2e9638d08.tar.gz
emacs-c70c27055d0cd10097196099b5429af2e9638d08.zip
Don't assume that HAVE_CONFIG_H implies emacs.
Diffstat (limited to 'src/tparam.c')
-rw-r--r--src/tparam.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tparam.c b/src/tparam.c
index 24702899a83..a5ee362eaa4 100644
--- a/src/tparam.c
+++ b/src/tparam.c
@@ -18,8 +18,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
18/* Emacs config.h may rename various library functions such as malloc. */ 18/* Emacs config.h may rename various library functions such as malloc. */
19#ifdef HAVE_CONFIG_H 19#ifdef HAVE_CONFIG_H
20#include <config.h> 20#include <config.h>
21#else /* not HAVE_CONFIG_H */ 21#endif
22 22
23#ifndef emacs
23#if defined(HAVE_STRING_H) || defined(STDC_HEADERS) 24#if defined(HAVE_STRING_H) || defined(STDC_HEADERS)
24#define bcopy(s, d, n) memcpy ((d), (s), (n)) 25#define bcopy(s, d, n) memcpy ((d), (s), (n))
25#endif 26#endif
@@ -32,7 +33,7 @@ char *malloc ();
32char *realloc (); 33char *realloc ();
33#endif 34#endif
34 35
35#endif /* not HAVE_CONFIG_H */ 36#endif /* not emacs */
36 37
37#ifndef NULL 38#ifndef NULL
38#define NULL (char *) 0 39#define NULL (char *) 0