diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-06-07 05:06:13 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-06-07 05:06:13 +0200 |
commit | 14b82144f46a8b33e7b38b105e64dee30d889cf2 (patch) | |
tree | d8416f10fe7a547736d65660aa5c2eb2e98ec01e /src/grt/ghwlib.h | |
parent | 761618ebc4e00fbf3642948f4220a18de002b8b1 (diff) | |
download | ghdl-14b82144f46a8b33e7b38b105e64dee30d889cf2.tar.gz ghdl-14b82144f46a8b33e7b38b105e64dee30d889cf2.tar.bz2 ghdl-14b82144f46a8b33e7b38b105e64dee30d889cf2.zip |
ghwlib: handle gzip/bzip2 compressed files.
Diffstat (limited to 'src/grt/ghwlib.h')
-rw-r--r-- | src/grt/ghwlib.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/grt/ghwlib.h b/src/grt/ghwlib.h index b5347bc46..9fdbd1eb8 100644 --- a/src/grt/ghwlib.h +++ b/src/grt/ghwlib.h @@ -321,10 +321,12 @@ struct ghw_hie struct ghw_handler { FILE *stream; + /* True if STREAM was popen, else was fopen. */ + unsigned char stream_ispipe; /* True if words are big-endian. */ - int word_be; - int word_len; - int off_len; + unsigned char word_be; + unsigned char word_len; + unsigned char off_len; /* Minor version. */ int version; |