--- xmil/sound/opmgeng.c 2004/08/20 12:09:20 1.2 +++ xmil/sound/opmgeng.c 2005/02/04 06:42:12 1.3 @@ -1,11 +1,12 @@ #include "compiler.h" + +#if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) + #include "sound.h" #include "sndctrl.h" - extern OPMCFG opmcfg; - #define CALCENV(e, c, s) \ (c)->slot[(s)].freq_cnt += (c)->slot[(s)].freq_inc; \ (c)->slot[(s)].env_cnt += (c)->slot[(s)].env_inc; \ @@ -147,3 +148,4 @@ void SOUNDCALL opmgen_getpcm(void *hdl, (void)hdl; } +#endif