summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-09-05 01:02:44 +0200
committerMike Frysinger <vapier@gmail.com>2018-09-05 01:39:49 -0400
commit1e7f93922fb3adf9f131d7e94aa13386062ffe11 (patch)
tree7b06263ffa91058586e27c5936e6eeebb4187c90 /docs
parent96d68e36142a3a6446ca7d1d7f764c0156bb2b1e (diff)
downloadlibgd-1e7f93922fb3adf9f131d7e94aa13386062ffe11.tar.gz
Remove HAVE_ERRNO_H
The `<errno.h>` 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
Diffstat (limited to 'docs')
-rw-r--r--docs/README.JPN2
1 files changed, 1 insertions, 1 deletions
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 と も付けておくと
漢字コード変換の際にエラーが発生した場合に適切なメッセージを
表示するようになります。