mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 06:26:23 +00:00
printf: On MSVC, also define HAVE_STDINT_H_WITH_UINTMAX
MSVC provides stdint.h but not inttypes.h, and we need to include stdint.h to get intmax_t
This commit is contained in:
parent
fd823ed129
commit
55f9406f30
1 changed files with 1 additions and 2 deletions
|
@ -48,11 +48,10 @@
|
||||||
/* define to support printing 64-bit integers with format I64 */
|
/* define to support printing 64-bit integers with format I64 */
|
||||||
#define HAVE_INT64_AND_I64 1
|
#define HAVE_INT64_AND_I64 1
|
||||||
|
|
||||||
/* FIXME: do we need to do anything else here? or should we just typedef/define
|
|
||||||
* intmax_t etc. to __int64? */
|
|
||||||
#if defined (_MSC_VER) && _MSC_VER >= 1600
|
#if defined (_MSC_VER) && _MSC_VER >= 1600
|
||||||
#undef HAVE_INTMAX_T
|
#undef HAVE_INTMAX_T
|
||||||
#define HAVE_INTMAX_T 1
|
#define HAVE_INTMAX_T 1
|
||||||
|
#define HAVE_STDINT_H_WITH_UINTMAX 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* G_OS_WIN32 */
|
#endif /* G_OS_WIN32 */
|
||||||
|
|
Loading…
Reference in a new issue