aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Blechmann <timblech@users.sourceforge.net>2004-06-02 12:54:09 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 13:53:22 +0200
commit1f2a8ba7d9690067f647e6f1124cc213fe1faa7c (patch)
tree6da33395ee11e0e566a7d0c580173a57949f3c78
parentc59df870c2fdb62d57589eac8c1e09a643a156d5 (diff)
should compile for both pd 0.36 and 0.37
svn path=/trunk/externals/maxlib/; revision=1803
-rw-r--r--src/netclient.c2
-rw-r--r--src/netrec.c2
-rw-r--r--src/netserver.c2
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"