aboutsummaryrefslogtreecommitdiff
path: root/src/zexy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zexy.h')
-rw-r--r--src/zexy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/zexy.h b/src/zexy.h
index 6b1b278..1c4c54c 100644
--- a/src/zexy.h
+++ b/src/zexy.h
@@ -87,6 +87,8 @@
# endif /* OSX-10.3 */
#endif /* APPLE */
+#define ZEXY_USEVAR(x) x=x
+
typedef struct _mypdlist
{
t_object x_obj;
@@ -107,7 +109,7 @@ static void zexy_register(char*object){
}
}
#else
-static void zexy_register(char*object){}
+static void zexy_register(char*object){object=0;}
#endif /* ZEXY_LIBRARY */
#if (defined PD_MAJOR_VERSION && defined PD_MINOR_VERSION) && (PD_MAJOR_VERSION > 0 || PD_MINOR_VERSION > 38)