aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-09-01 19:52:10 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2003-09-01 19:52:10 +0000
commit27d9e6e366d8d4332b7162a62a9b56d93a06003d (patch)
treebbbe7886d67e3573c3b7b837b31b713ce07f4ac8
parent90a701587775dfa9b783ddab89cb2b4f105537d4 (diff)
#ifdef'ed out struct members to make it compile with pd 0.37
svn path=/trunk/externals/miXed/; revision=926
-rw-r--r--cyclone/hammer/comment.c6
-rw-r--r--cyclone/sickle/Scope.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/cyclone/hammer/comment.c b/cyclone/hammer/comment.c
index e5cd5ab..8e3baeb 100644
--- a/cyclone/hammer/comment.c
+++ b/cyclone/hammer/comment.c
@@ -488,8 +488,14 @@ static t_widgetbehavior comment_widgetbehavior =
0,
comment_vis,
0,
+ /* As of 0.37, pd does not have these last two elements in */
+ /* a t_widgetbehavoir anymore. <hans@eds.org> */
+#if PD_MAJOR_VERSION == 0
+#if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION)
comment_save,
0,
+#endif
+#endif
};
/* this fires if a transform request was sent to a symbol we are bound to */
diff --git a/cyclone/sickle/Scope.c b/cyclone/sickle/Scope.c
index 75e825d..8a09d78 100644
--- a/cyclone/sickle/Scope.c
+++ b/cyclone/sickle/Scope.c
@@ -848,8 +848,14 @@ static t_widgetbehavior scope_widgetbehavior =
scope_delete,
scope_vis,
scope_click,
+ /* As of 0.37, pd does not have these last two elements in */
+ /* a t_widgetbehavoir anymore. <hans@eds.org> */
+#if PD_MAJOR_VERSION == 0
+#if PD_MINOR_VERSION < 37 || !defined(PD_MINOR_VERSION)
scope_save,
0
+#endif
+#endif
};
static void scope_setxymode(t_scope *x, int xymode)