GraphicsMagick: MSVC2010 does not have stdbool.h nor inttypes.h
GraphicsMagick Commits <[email protected]> Sun, 20 Aug 2023 14:18:25 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.cvs |
|---|---|
| Message-ID | <mailman.10365.1692559116.1761.graphicsmagick-commit@lists.sourceforge.net> |
changeset 6ea7e0724669 in /hg/GraphicsMagick details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=6ea7e0724669 summary: MSVC2010 does not have stdbool.h nor inttypes.h diffstat: ChangeLog | 2 ++ tiff/libtiff/stdbool2.h | 2 +- webp/src/webp/types.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diffs (35 lines): diff -r 0f22f88bb994 -r 6ea7e0724669 ChangeLog --- a/ChangeLog Sun Aug 20 13:28:26 2023 +0200 +++ b/ChangeLog Sun Aug 20 21:17:22 2023 +0200 @@ -1,5 +1,7 @@ 2023-08-20 Fojtik Jaroslav <[email protected]> + * tiff/libtiff/stdbool2.h MSVC2010 does not have stdbool.h nor inttypes.h + * coders/bmp.c Added support for BI_ALPHABITFIELDS compression. https://learn.microsoft.com/en-us/previous-versions/windows/embedded/aa452885(v=msdn.10) Remove unwanted duplicite check condition of biCompression. diff -r 0f22f88bb994 -r 6ea7e0724669 tiff/libtiff/stdbool2.h --- a/tiff/libtiff/stdbool2.h Sun Aug 20 13:28:26 2023 +0200 +++ b/tiff/libtiff/stdbool2.h Sun Aug 20 21:17:22 2023 +0200 @@ -2,7 +2,7 @@ #define __STDBOOL2_H__ -#if defined(_MSC_VER) && _MSC_VER <= 1500 +#if defined(_MSC_VER) && _MSC_VER <= 1600 #ifndef __cplusplus #define bool int #define false 0 diff -r 0f22f88bb994 -r 6ea7e0724669 webp/src/webp/types.h --- a/webp/src/webp/types.h Sun Aug 20 13:28:26 2023 +0200 +++ b/webp/src/webp/types.h Sun Aug 20 21:17:22 2023 +0200 @@ -25,7 +25,7 @@ #define WEBP_INLINE #endif #else -#if _MSC_VER > 1500 +#if _MSC_VER > 1600 #include <stdint.h> #include <inttypes.h> #else