From 1f2a8ba7d9690067f647e6f1124cc213fe1faa7c Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 2 Jun 2004 12:54:09 +0000 Subject: should compile for both pd 0.36 and 0.37 svn path=/trunk/externals/maxlib/; revision=1803 --- src/netclient.c | 2 +- src/netrec.c | 2 +- src/netserver.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/netclient.c b/src/netclient.c index 35658ba..a248158 100644 --- a/src/netclient.c +++ b/src/netclient.c @@ -25,8 +25,8 @@ /* Changes: use circular message buffer for receive */ /* using pollfunction instead of clock (suggested by HCS) */ -#ifdef PD_0_37 #include "m_pd.h" +#if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif #include "m_imp.h" diff --git a/src/netrec.c b/src/netrec.c index dc8e44f..965d50e 100644 --- a/src/netrec.c +++ b/src/netrec.c @@ -22,8 +22,8 @@ /* */ /* ---------------------------------------------------------------------------- */ -#ifdef PD_0_37 #include "m_pd.h" +#if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif #include "m_imp.h" diff --git a/src/netserver.c b/src/netserver.c index 90ccb39..47fdc01 100644 --- a/src/netserver.c +++ b/src/netserver.c @@ -23,8 +23,8 @@ /* */ /* ---------------------------------------------------------------------------- */ -#ifdef PD_0_37 #include "m_pd.h" +#if defined PD_MAJOR_VERSION && PD_MAJOR_VERSION==0 && PD_MINOR_VERSION==37 #include "s_stuff.h" #endif #include "m_imp.h" -- cgit v1.2.1