From 0ff0e6a4349506bd275b4ec7a05371a1e18a6163 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 3 Nov 2010 11:14:03 +0100 Subject: [PATCH] version: Take nano version into account in GST_CHECK_VERSION() If the nano is > 0 the current version should be handled the same as micro + 1. --- gst/gstversion.h.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/gstversion.h.in b/gst/gstversion.h.in index 43c9d0e..86a6609 100644 --- a/gst/gstversion.h.in +++ b/gst/gstversion.h.in @@ -81,7 +81,9 @@ G_BEGIN_DECLS (GST_VERSION_MAJOR > (major) || \ (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR > (minor)) || \ (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \ - GST_VERSION_MICRO >= (micro))) + GST_VERSION_MICRO >= (micro)) || \ + (GST_VERSION_MAJOR == (major) && GST_VERSION_MINOR == (minor) && \ + GST_VERSION_MICRO + 1 == (micro) && GST_VERSION_NANO > 0)) G_END_DECLS -- 2.7.4