diff options
| author | mayeut <mayeut@users.noreply.github.com> | 2023-09-24 13:54:28 +0200 |
|---|---|---|
| committer | mayeut <mayeut@users.noreply.github.com> | 2023-09-24 13:54:28 +0200 |
| commit | c4b3a91ede1d0301f7f5f50287c0bda35aa7ca7e (patch) | |
| tree | d89bda6caa4af5440b6d3144498748dba527a568 /src/lib/openjp2/opj_config.h.cmake.in | |
| parent | 6af39314bdb43cb9c7adcdbc7aa9381af42b52ba (diff) | |
Require `stdint.h` & `inttypes.h`
With #1450 which goes with 480cc9d49775d018c19ce0e01f6be27858d63d39 "Remove support for non-C99 compilers (like VS2010) that don't support snprintf()",
support for MSVC versions prior to vs2015 is dropped: https://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010
This means that all supported MSVC versions do have `stdint.h` & `inttypes.h` now.
For non windows platforms, those headers were already mandatory.
Make them mandatory for all builds.
Diffstat (limited to 'src/lib/openjp2/opj_config.h.cmake.in')
| -rw-r--r-- | src/lib/openjp2/opj_config.h.cmake.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/openjp2/opj_config.h.cmake.in b/src/lib/openjp2/opj_config.h.cmake.in index 5f762ca3..50015fb9 100644 --- a/src/lib/openjp2/opj_config.h.cmake.in +++ b/src/lib/openjp2/opj_config.h.cmake.in @@ -1,5 +1,4 @@ /* create opj_config.h for CMake */ -#cmakedefine OPJ_HAVE_STDINT_H @OPJ_HAVE_STDINT_H@ /*--------------------------------------------------------------------------*/ /* OpenJPEG Versioning */ |
