[Bug 679112] Fix GStreamer build on Visual C++

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 29 02:40:31 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=679112
  GStreamer | gstreamer (core) | git

--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-06-29 09:40:29 UTC ---
(From update of attachment 217591)
>+#if defined (__GST_MATH_COMPAT_NEED_ISNAN) && !defined (isnan) && defined (_MSC_VER)
>+static inline gboolean
>+__gst_math_compat_isnan (double x)
>+{
>+  return _isnan (x);
>+}
>+#endif

Why the  && defined (_MSC_VER) here? Wouldn't that mean that the #define below
might be referencing an inline function that we never define for other
compilers where isnan is needed but not available?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list