<div dir="ltr">
<p class="">This also causes a warning and looks like it is the wrong #ifdef. ioctl() is only used inside of a '#if !defined __ANDROID__’.</p>
<p class="">Note, this compiler warning was generated when compiling on Mac OSX 10.9 with clang:</p>
<p class=""> utils.c:189:6: warning: implicit declaration of function 'ioctl' is invalid in C99 [-Wimplicit-function-declaration]<br></p>
<p class=""><br></p>
<p class="">Also, at the moment, TOT does not compile. It is missing the file fixed_intrin_sse2.c</p>
<p class=""><br></p>
<p class="">-Lenny</p></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 9, 2014 at 2:12 AM, Erik de Castro Lopo <span dir="ltr"><<a href="mailto:mle+la@mega-nerd.com" target="_blank">mle+la@mega-nerd.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Erik de Castro Lopo wrote:<br>
<br>
> This could also be fixed by adding a:<br>
><br>
> decoder->protected_->initstate<br>
><br>
> and using that correctly. Right?<br>
><br>
> I'm going to play with this idea.<br>
<br>
</div>That fixed it. Commit is here:<br>
<br>
<a href="https://git.xiph.org/?p=flac.git;a=commit;h=3f5208c30022b7cbd0b9095ad3550c4f6cb348c9" target="_blank">https://git.xiph.org/?p=flac.git;a=commit;h=3f5208c30022b7cbd0b9095ad3550c4f6cb348c9</a><br>
<br>
<br>
What didn't get added was this:<br>
<br>
diff --git a/src/flac/utils.c b/src/flac/utils.c<br>
index 4bf05e2..941a958 100644<br>
--- a/src/flac/utils.c<br>
+++ b/src/flac/utils.c<br>
@@ -35,7 +35,7 @@<br>
#ifdef HAVE_TERMIOS_H<br>
# include <termios.h><br>
#endif<br>
-#ifdef GWINSZ_IN_SYS_IOCTL<br>
+#if !defined __ANDROID__<br>
# include <sys/ioctl.h><br>
#endif<br>
#endif<br>
<br>
because that seemed completely un-related. What's this bit all about?<br>
<div class="HOEnZb"><div class="h5"><br>
Erik<br>
--<br>
----------------------------------------------------------------------<br>
Erik de Castro Lopo<br>
<a href="http://www.mega-nerd.com/" target="_blank">http://www.mega-nerd.com/</a><br>
_______________________________________________<br>
flac-dev mailing list<br>
<a href="mailto:flac-dev@xiph.org">flac-dev@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/flac-dev" target="_blank">http://lists.xiph.org/mailman/listinfo/flac-dev</a><br>
</div></div></blockquote></div><br></div>