From c14430a9c198c261990ceff77bdfa0856ebcf5fe Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 7 Nov 2007 09:28:07 +0000 Subject: compile talk.c on hwcodec sim. it wont actually talk though git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15512 a1c6a512-1295-4272-9138-f99709370657 --- apps/talk.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'apps/talk.h') diff --git a/apps/talk.h b/apps/talk.h index bb05bd8321..50759bc026 100644 --- a/apps/talk.h +++ b/apps/talk.h @@ -93,18 +93,6 @@ void talk_date(struct tm *tm, bool enqueue); /* This (otherwise invalid) ID signals the end of the array. */ #define TALK_FINAL_ID LANG_LAST_INDEX_IN_ARRAY -/* We don't build talk.c for hwcodec sims so we need to define these as empty */ -#if defined(SIMULATOR) && !(CONFIG_CODEC == SWCODEC) -#define talk_init(...) -#define talk_buffer_steal(...) -#define talk_shutup(...) -#define talk_force_enqueue_next(...) -#define talk_idarray(...) -#define talk_ids(...) -#define cond_talk_ids(...) -#define cond_talk_ids_fq(...) -#else - /* Enqueue next utterance even if enqueue parameter is false: don't interrupt the current utterance. */ void talk_force_enqueue_next(void); @@ -135,5 +123,5 @@ int talk_idarray(long *idarray, bool enqueue); talk_force_enqueue_next(); \ } \ }while(0) -#endif /*defined(SIMULATOR) && !(CONFIG_CODEC == SWCODEC)*/ + #endif /* __TALK_H__ */ -- cgit v1.2.3