Make definition of off_t robust against misbehaving w32 toolchains.
authorWerner Koch <wk@gnupg.org>
Thu, 25 Apr 2013 11:00:16 +0000 (12:00 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 16 May 2013 15:48:50 +0000 (17:48 +0200)
commit6d0d8e7ba0bb989c251545fa8af35b97d1a703ba
tree9350cede809e12536956f6487c92d3f2d9489d66
parent9e7df9aa6d81f0abbabb03a2346d80eb5d375f81
Make definition of off_t robust against misbehaving w32 toolchains.

* configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t
and gpgme_ssize_t.
(API__OFF_T, API__SSIZE_T): New ac_subst.
* src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros.
* src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h
* src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c
* src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c
* src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t
by gpgme_off_t and sszie_t by gpgme_ssize_t.
* src/ath-pthread.c, src/ath.h: Include gpgme.h.
--

For a detailed description, see the gpgme.texi diff.
19 files changed:
NEWS
configure.ac
doc/gpgme.texi
src/assuan-support.c
src/ath-pthread.c
src/ath.c
src/ath.h
src/data-compat.c
src/data-fd.c
src/data-mem.c
src/data-stream.c
src/data-user.c
src/data.c
src/data.h
src/engine-gpgsm.c
src/engine-uiserver.c
src/gpgme-tool.c
src/gpgme.c
src/gpgme.h.in