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 033eacf6ca0ce1c40d069da270430da7d34f370b..01d014c36f56c9c3a51fc5f73110ff322a567053 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 f95dfed25cbf99c293301daaa2a40dac61936e86..fc265136123fcd60a8bcb5c75f80e38cb8143422 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