check: Avoid requring (u)intmax_t in macros
authorSebastian Rasmussen <sebras@hotmail.com>
Sun, 7 Dec 2014 11:55:26 +0000 (12:55 +0100)
committerThibault Saunier <tsaunier@gnome.org>
Sun, 7 Dec 2014 16:32:30 +0000 (17:32 +0100)
commit1cf733f2824523b247ae97dbb70bbf876f7acffd
tree1b9e6ccc114589399bd6645068bed3f70e087024
parentfb6ea425b01f39539d4addc62673d66c477395ab
check: Avoid requring (u)intmax_t in macros

Previously embedded libcheck versions did not depend on (u)intmax_t and
doing so would require projects using GStreamer's check framework to add
AX_CREATE_STDINT_H to their configure.ac. A workaround is to fallback to
glib types. This patch assumes that glib.h is always included before
internal-check.h which is ok since everything Gstreamer would include
gst/gstcheck.h instead of directly including internal-check.h.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
libs/gst/check/libcheck/check.h.in