From 1e7f93922fb3adf9f131d7e94aa13386062ffe11 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 5 Sep 2018 01:02:44 +0200 Subject: Remove HAVE_ERRNO_H The `` header file is part of the standard C89 headers [1] and on older systems there needed to be also a manual check if header is present. Since libgd requires at least C89 or greater, the `HAVE_ERRNO_H` symbol defined by Autoconf in configure.ac [2], and Cmake build system files can be removed and simplifed. Refs: [1] https://port70.net/~nsz/c/c89/c89-draft.html#4.1.3 [2] https://git.savannah.gnu.org/cgit/autoconf.git/tree/lib/autoconf/headers.m4 --- docs/README.JPN | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/README.JPN b/docs/README.JPN index c623cb1..220a013 100644 --- a/docs/README.JPN +++ b/docs/README.JPN @@ -24,7 +24,7 @@ SJIS encoding のフォントが使用できます。 漢字コードの変換に OS 付属の iconv() を使う場合は CFLAGS に -DHAVE_ICONV を付けてコンパイルしてください。 -この場合に -DHAVE_STDARG_H と -DHAVE_ERRNO_H も付けておくと +この場合に -DHAVE_STDARG_H と も付けておくと 漢字コード変換の際にエラーが発生した場合に適切なメッセージを 表示するようになります。 -- cgit v1.2.1