diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-12-07 16:26:30 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:20:20 (GMT) |
commit | 82751ecbb99e4ace41078b7e5307bf258ec91c6b (patch) | |
tree | d99e54b71afc36cbedc85d4557d3b46eaa403788 /hl | |
parent | c7fe3b143b81b7c2465e5add7c1a7debca41bdae (diff) | |
download | hdf5-82751ecbb99e4ace41078b7e5307bf258ec91c6b.zip hdf5-82751ecbb99e4ace41078b7e5307bf258ec91c6b.tar.gz hdf5-82751ecbb99e4ace41078b7e5307bf258ec91c6b.tar.bz2 |
Fix windows 10 compile error
Diffstat (limited to 'hl')
-rw-r--r-- | hl/tools/gif2h5/gif.h | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/hl/tools/gif2h5/gif.h b/hl/tools/gif2h5/gif.h index ed1cc81..221e178 100644 --- a/hl/tools/gif2h5/gif.h +++ b/hl/tools/gif2h5/gif.h @@ -27,16 +27,28 @@ #define MAX_PAL 768 /* typedef H5T_NATIVE_UINT8 BYTE; */ +#ifndef BYTE typedef unsigned char BYTE; +#endif /* typedef H5T_NATIVE_UINT16 WORD; */ +#ifndef WORD typedef unsigned long WORD; +#endif +#ifndef CHAR typedef char CHAR; +#endif +#ifndef boolean typedef unsigned char boolean; +#endif +#ifndef false #define false 0 +#endif +#ifndef true #define true 1 +#endif /* Set the EndianOrder. ** The GIF Reader file should do this. @@ -128,12 +140,12 @@ typedef struct _GifCommentExtension { ** extension. */ typedef struct _GifToMem { - GIFHEAD *GifHeader; - GIFIMAGEDESC **GifImageDesc; - GIFGRAPHICCONTROL **GifGraphicControlExtension; - GIFPLAINTEXT **GifPlainTextExtension; - GIFAPPLICATION **GifApplicationExtension; - GIFCOMMENT **GifCommentExtension; + GIFHEAD *GifHeader; + GIFIMAGEDESC **GifImageDesc; + GIFGRAPHICCONTROL **GifGraphicControlExtension; + GIFPLAINTEXT **GifPlainTextExtension; + GIFAPPLICATION **GifApplicationExtension; + GIFCOMMENT **GifCommentExtension; } GIFTOMEM; /* |