gplugin/gplugin

f28a60663618
Parents 5c97409a111b
Children 8026b7589205
Work around that silly version compare warning

Testing Done:
Compiled and verified the warning was gone.

Reviewed at https://reviews.imfreedom.org/r/2509/
--- a/gplugin/gplugin-version.c Mon Jun 26 23:01:28 2023 -0500
+++ b/gplugin/gplugin-version.c Sun Jul 09 14:47:48 2023 -0500
@@ -215,10 +215,11 @@
return "gplugin version too old (major mismatch)";
}
- /* This will warn until 1.0.0 is released. */
+#if GPLUGIN_VERSION_CHECK(1, 0, 0)
if(major < GPLUGIN_MAJOR_VERSION) {
return "gplugin version too new (major mismatch)";
}
+#endif
if(minor > GPLUGIN_MINOR_VERSION) {
return "gplugin version too old (minor mismatch)";