aboutsummaryrefslogtreecommitdiffstats
path: root/fm.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-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__ */