aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"