aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-16 22:02:00 +0000
commit3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9 (patch)
tree43a618cb2507489be74cf3b52a18d4be5110fe58 /fm.h
parenttgetstr("Km", &pt) cannot be used to detect is_xterm (diff)
downloadw3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.tar.gz
w3m-3a391ef6c247a0eee78ce93cf3c3ab5617dc06d9.zip
follow autoconf conventions, #include cleanups
Diffstat (limited to 'fm.h')
-rw-r--r--fm.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/fm.h b/fm.h
index 5b50420..bfc897e 100644
--- a/fm.h
+++ b/fm.h
@@ -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__ */