aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 22:20:59 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2011-09-26 22:20:59 +0000
commit2f080b8bc55294a43e0559a38cf1d1a464602478 (patch)
tree3b176c167d47fa8f3dadd04b0c9da76288913be7
parent1e9403100b5b64a18e20138e880fca1bc73b8ebc (diff)
if pd >=0.43 use logpost() for version
svn path=/trunk/externals/pdp/; revision=15359
-rw-r--r--system/pdp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/system/pdp.c b/system/pdp.c
index 0d03854..96870d0 100644
--- a/system/pdp.c
+++ b/system/pdp.c
@@ -110,8 +110,12 @@ void pdp_setup(void){
if (initialized) return;
/* babble */
-#ifdef PDP_VERSION
+#ifdef PDP_VERSION
+# if PD_MAJOR_VERSION==0 && PD_MINOR_VERSION<43
pdp_post("PDP: pure data packet version " PDP_VERSION );
+# else
+ logpost(NULL, 3, "PDP: pure data packet version " PDP_VERSION );
+# endif
#else
pdp_post ("PDP: pure data packet");
#endif