Mercurial > octave
changeset 27850:8384125d6f5f
Include header that defines the macros with format constants.
* oct-conf-post.in.h, build-aux/mk-octave-confog-h.sh: Include <cinttypes> that
defines the PRIx macros with format constants needed for OCTAVE_IDX_TYPE_FORMAT.
This header also includes <cstdint>.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 18 Dec 2019 14:53:45 +0100 |
parents | 28d7ec92bae6 |
children | 315440604e40 |
files | build-aux/mk-octave-config-h.sh oct-conf-post.in.h |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/build-aux/mk-octave-config-h.sh Mon Dec 16 08:00:43 2019 +0100 +++ b/build-aux/mk-octave-config-h.sh Wed Dec 18 14:53:45 2019 +0100 @@ -95,9 +95,9 @@ #if ! defined (OCTAVE_AUTOCONFIG_H_INCLUDED) # if defined (__cplusplus) -# include <cstdint> +# include <cinttypes> # else -# include <stdint.h> +# include <inttypes.h> # endif # if defined (__GNUC__)
--- a/oct-conf-post.in.h Mon Dec 16 08:00:43 2019 +0100 +++ b/oct-conf-post.in.h Wed Dec 18 14:53:45 2019 +0100 @@ -224,9 +224,9 @@ #endif #if defined (__cplusplus) -# include <cstdint> +# include <cinttypes> #else -# include <stdint.h> +# include <inttypes.h> #endif typedef OCTAVE_IDX_TYPE octave_idx_type;