aboutsummaryrefslogtreecommitdiff
path: root/aconnect.c
diff options
context:
space:
mode:
Diffstat (limited to 'aconnect.c')
-rw-r--r--aconnect.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/aconnect.c b/aconnect.c
index 21f347d..0bce411 100644
--- a/aconnect.c
+++ b/aconnect.c
@@ -18,8 +18,6 @@
* license: GNU General Public License v.2
*
******************************************************/
-#define ACONNECT_VERSION "0.2"
-
#include "m_pd.h"
/* aconnect :: connect/disconnect 2 ALSA sequencer subscriber ports */
@@ -394,7 +392,10 @@ void aconnect_setup(void)
post(" ported to pure-data by IOhannes m zmölnig 2005");
post(" institute of electronic music and acoustics (iem)");
post(" published under the GNU General Public License version 2");
- post(" version:"ACONNECT_VERSION"\tcompiled: "__DATE__"");
+#ifdef ACONNECT_VERSION
+ startpost(" version:"ACONNECT_VERSION);
+#endif
+ post("\tcompiled: "__DATE__"");
aconnect_class = class_new(gensym("aconnect"), (t_newmethod)aconnect_new, 0,
sizeof(t_aconnect), 0, 0);