From 55f9406f30d19d97acd7a8ee8b0b96e97dd2942b Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 13 Feb 2016 06:53:24 +0530 Subject: [PATCH] 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 --- gst/printf/gst-printf.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/printf/gst-printf.h b/gst/printf/gst-printf.h index b7d55a9b8c..db5972afed 100644 --- a/gst/printf/gst-printf.h +++ b/gst/printf/gst-printf.h @@ -48,11 +48,10 @@ /* define to support printing 64-bit integers with format I64 */ #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 #undef HAVE_INTMAX_T #define HAVE_INTMAX_T 1 +#define HAVE_STDINT_H_WITH_UINTMAX 1 #endif #endif /* G_OS_WIN32 */