From 3ccb9c1c31f21c5ef85ecb566ccae5c1ecc99044 Mon Sep 17 00:00:00 2001 From: Jeremy McNamara Date: Sun, 11 Jan 2004 08:32:50 +0000 Subject: fix festival for big endian. Bug #709 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1937 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_festival.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'apps/app_festival.c') diff --git a/apps/app_festival.c b/apps/app_festival.c index 0cbe48b57..cb7225d31 100755 --- a/apps/app_festival.c +++ b/apps/app_festival.c @@ -106,6 +106,10 @@ static int send_waveform_to_fd(char *waveform, int length, int fd) { int res; int x; +#ifdef __PPC__ + char c; +#endif + res = fork(); if (res < 0) ast_log(LOG_WARNING, "Fork failed\n"); @@ -115,6 +119,16 @@ static int send_waveform_to_fd(char *waveform, int length, int fd) { if (x != fd) close(x); } +//IAS +#ifdef __PPC__ + for( x=0; x