gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
Fix undefined macro warning
6 months ago, Elliott Sales de Andrade
468acf3b4723
Parents
a1475628f0c2
Children
9c9e6967bf96
Fix undefined macro warning
The encoded version macro is defined after this sanity check.
Testing Done:
Compiled Pidgin and didn't see a bunch of warnings about `GPLUGIN_VERSION_0_38`.
Reviewed at https://reviews.imfreedom.org/r/2673/
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
gplugin/gplugin-version.h
--- a/gplugin/gplugin-version.h Tue Oct 17 02:59:23 2023 -0500
+++ b/gplugin/gplugin-version.h Tue Oct 17 04:34:23 2023 -0500
@@ -97,7 +97,7 @@
#if GPLUGIN_VERSION_MAX_ALLOWED < GPLUGIN_VERSION_MIN_REQUIRED
#error "GPLUGIN_VERSION_MAX_ALLOWED must be >= GPLUGIN_VERSION_MIN_REQUIRED"
#endif
-#if GPLUGIN_VERSION_MIN_REQUIRED < GPLUGIN_VERSION_0_38
+#if GPLUGIN_VERSION_MIN_REQUIRED < G_ENCODE_VERSION(0, 38)
#error "GPLUGIN_VERSION_MIN_REQUIRED must be >= GPLUGIN_VERSION_0_38"
#endif