follow autoconf conventions, #include cleanups

This commit is contained in:
Fumitoshi UKAI
2001-11-16 22:02:00 +00:00
parent 225a3fb8aa
commit 3a391ef6c2
24 changed files with 190 additions and 189 deletions

13
fm.h
View File

@@ -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__ */