gst-libs/gst/floatcast/floatcast.h: Define inline when needed on win32 builds. Fixes...
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 31 May 2007 16:36:22 +0000 (16:36 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 31 May 2007 16:36:22 +0000 (16:36 +0000)
Original commit message from CVS:
* gst-libs/gst/floatcast/floatcast.h:
Define inline when needed on win32 builds. Fixes: #441295

ChangeLog
gst-libs/gst/floatcast/floatcast.h

index 033eacf..01d014c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-31  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * gst-libs/gst/floatcast/floatcast.h:
+       Define inline when needed on win32 builds. Fixes: #441295
+
 2007-05-29  Wim Taymans  <wim@fluendo.com>
 
        * gst/playback/gstplaybasebin.c: (queue_overrun),
index f95dfed..fc26513 100644 (file)
 
 #include <string.h>
 #include <glib/gtypes.h>
+#include <glib/gutils.h>  /* to make sure inline is defined properly */
+
+#if defined (_MSC_VER) && !defined (inline)
+#define inline __inline
+#endif
 
 G_BEGIN_DECLS