projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd823ed
)
printf: On MSVC, also define HAVE_STDINT_H_WITH_UINTMAX
author
Nirbheek Chauhan
<nirbheek@centricular.com>
Sat, 13 Feb 2016 01:23:24 +0000
(06:53 +0530)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 20 Feb 2016 10:07:37 +0000
(10:07 +0000)
MSVC provides stdint.h but not inttypes.h, and we need to include stdint.h to
get intmax_t
gst/printf/gst-printf.h
patch
|
blob
|
history
diff --git
a/gst/printf/gst-printf.h
b/gst/printf/gst-printf.h
index
b7d55a9
..
db5972a
100644
(file)
--- 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 */