Commit be870e75 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller

NICE_CHECK_VERSION: fix unexpected "git = next version" assumption

0.1.18.1 should not satisfy a check for 0.1.19, especially not
for libraries that release once a year at best.

If someone needs more control they should do a feature check for
the symbol in the headers or lib.
parent 4c465cdc
...@@ -45,9 +45,7 @@ ...@@ -45,9 +45,7 @@
(NICE_VERSION_MAJOR > (major) || \ (NICE_VERSION_MAJOR > (major) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \ (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \ (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \
NICE_VERSION_MICRO >= (micro)) || \ NICE_VERSION_MICRO >= (micro)))
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \
NICE_VERSION_MICRO + 1 == (micro) && NICE_VERSION_NANO > 0))
#include "agent.h" #include "agent.h"
#include "interfaces.h" #include "interfaces.h"
......
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