From 27d9e6e366d8d4332b7162a62a9b56d93a06003d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 1 Sep 2003 19:52:10 +0000 Subject: #ifdef'ed out struct members to make it compile with pd 0.37 svn path=/trunk/externals/miXed/; revision=926 --- cyclone/sickle/Scope.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cyclone/sickle') 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. */ +#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) -- cgit v1.2.1