diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-22 10:18:48 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-22 10:18:48 +0000 |
commit | 21ff032fa838b3aa2adf2db77ce2a27d12813c4b (patch) | |
tree | d3adaaa5680bffa594b6c9c07d9cbdfcb1bd26b7 /src/zexy.h | |
parent | fb31e01fd646ef0538a3c54ab1a52e4c51a043b8 (diff) |
removed zexyconf.h as it was too easy to enable the wrong stuff when not
using copnfigure (e.g. in ./externals/build/src)
instead we just do it ordinarily: configure will define HAVE_CONFIG_H in
Make.config, and if this is set we include zexyconf.h, else we don't
svn path=/trunk/externals/zexy/; revision=8857
Diffstat (limited to 'src/zexy.h')
-rw-r--r-- | src/zexy.h | 16 |
1 files changed, 6 insertions, 10 deletions
@@ -39,13 +39,13 @@ # endif #endif -/* usually the re-inclusion magic is done in the header-file itself - * however, we do it outside, so we can force zexyconf.h to not be used - * (e.g. from by definig the INCLUDE_SH1T in externals/build/src/...) +/* + * to use the zexyconf.h compile-time configurations, you have to set HAVE_CONFIG_H + * usually this is done in Make.config by configure */ -#ifndef INCLUDE_ZEXYCONF_H__ +#ifdef HAVE_CONFIG_H # include "zexyconf.h" -#endif /* INCLUDE_ZEXYCONF_H__ */ +#endif /* HAVE_CONFIG_H */ #include "m_pd.h" @@ -121,11 +121,7 @@ static void zexy_register(char*object){object=0;} void verbose(int level, const char *fmt, ...); #else /* - * this might not work on compilers other than gcc - * is it ISO-C99 or just a gnu-cpp thing ? - # define z_verbose(level, format, ...) post(format, ## __VA_ARGS__) - * - * so we make it simpler: on older version we just shut up! + * on older version we just shut up! */ # define z_verbose #endif |