Commit d76f39be authored by Michael Smith's avatar Michael Smith
Browse files

gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an adequate...

gst/debug/gstnavigationtest.c: MSVC doesn't provide rint(), define an adequate replacement locally as elsewhere.

Original commit message from CVS:
* gst/debug/gstnavigationtest.c:
MSVC doesn't provide rint(), define an adequate replacement locally as
elsewhere.
parent deca08cd
2008-04-28 Michael Smith <msmith@songbirdnest.com>
* gst/debug/gstnavigationtest.c:
MSVC doesn't provide rint(), define an adequate replacement locally as
elsewhere.
2008-04-28 Julien Moutte <julien@fluendo.com>
 
* gst/debug/rndbuffersize.c: (gst_rnd_buffer_size_loop): Fix printf
......
......@@ -28,6 +28,10 @@
#include <gst/video/video.h>
#ifdef _MSC_VER
#define rint(x) (floor((x)+0.5))
#endif
GST_DEBUG_CATEGORY_STATIC (navigationtest_debug);
#define GST_CAT_DEFAULT navigationtest_debug
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment