diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-16 22:02:00 +0000 |
commit | 3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch) | |
tree | 43a618cb2507489be74cf3b52a18d4be5110fe58 /fm.h | |
parent | tgetstr("Km", &pt) cannot be used to detect is_xterm (diff) | |
download | w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip |
follow autoconf conventions, #include cleanups
Diffstat (limited to '')
-rw-r--r-- | fm.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.4 2001/11/16 03:58:49 ukai Exp $ */ +/* $Id: fm.h,v 1.5 2001/11/16 22:02:00 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -41,12 +41,13 @@ #include "funcname1.h" #include "terms.h" -#ifdef NOBCOPY +#ifndef HAVE_BCOPY void bcopy(void *, void *, int); void bzero(void *, int); -#else /* not NOBCOPY */ -#include <string.h> -#endif /* not NOBCOPY */ +#endif /* HAVE_BCOPY */ +#ifdef __EMX__ +#include <strings.h> /* for bzero() and bcopy() */ +#endif #ifdef MAINPROGRAM #define global @@ -229,7 +230,7 @@ extern int REV_LB[]; #define free(x) GC_free(x) /* let GC do it. */ #ifdef __EMX__ -#define STRCASECMP +#define HAVE_STRCASECMP #define strcasecmp stricmp #define strncasecmp strnicmp #endif /* __EMX__ */ |