You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-libs/h323plus/files/h323plus-1.25.0-ptlib-2.10....

16 lines
668 B

Fix macro definition for ptlib-2.10.10 compatibility
http://lists.packetizer.com/pipermail/h323plus/2012-December/002543.html
diff -ur a/include/openh323buildopts.h.in b/include/openh323buildopts.h.in
--- a/include/openh323buildopts.h.in 2012-09-21 05:53:21.000000000 +0200
+++ b/include/openh323buildopts.h.in 2013-03-05 19:26:25.251373540 +0100
@@ -35,7 +35,7 @@
#include <ptbuildopts.h>
#include <ptlib/../../revision.h>
-#if PTLIB_MAJOR == 2 && PTLIB_MINOR < 10
+#if PTLIB_MAJOR == 2 && PTLIB_MINOR <= 10
#define PTLIB_VER ( PTLIB_MAJOR*100 + PTLIB_MINOR*10 + PTLIB_BUILD )
#else
#define PTLIB_VER ( PTLIB_MAJOR*1000 + PTLIB_MINOR*10 + PTLIB_BUILD )