mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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.
This commit is contained in:
parent
deca08cdc4
commit
d76f39be0e
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue