summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2022-05-26 15:01:48 +0100
committerTim-Philipp Müller <tim@centricular.com>2022-05-26 15:01:48 +0100
commitbe870e75f35507a7089121c61441be7e561dc820 (patch)
tree0d7c1f0e75feb04d89a0bbf2444b03c9f22bb8ba
parent4c465cdc4b3d2768468b8b18c8de12db760b7606 (diff)
downloadlibnice-be870e75f35507a7089121c61441be7e561dc820.tar.gz
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.
-rw-r--r--nice/nice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/nice/nice.h b/nice/nice.h
index 4faf784..74a7e74 100644
--- a/nice/nice.h
+++ b/nice/nice.h
@@ -45,9 +45,7 @@
(NICE_VERSION_MAJOR > (major) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR > (minor)) || \
(NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \
- NICE_VERSION_MICRO >= (micro)) || \
- (NICE_VERSION_MAJOR == (major) && NICE_VERSION_MINOR == (minor) && \
- NICE_VERSION_MICRO + 1 == (micro) && NICE_VERSION_NANO > 0))
+ NICE_VERSION_MICRO >= (micro)))
#include "agent.h"
#include "interfaces.h"