Displaying 3 results from an estimated 3 matches for "_scrsize".
Did you mean:
_chsize
2013 May 15
2
FLAC currently won't compile for Android [bisected]
Felix Homann wrote:
> Here are the warnings I get with 03a9e6064d406e3656afacdbe50e8e47ebfa0de3:
It seems Android sys/param.h doesn't define MIN/MAX.
Could you try to revert this commit on current master (or simply
change line 35 of src/libFLAC/include/private/macros.h back to
#if defined(__GNUC__)
) and recompile? Or possibly bisect 03a9e60..master to find out when
the
2013 May 23
2
FLAC currently won't compile for Android [bisected]
...index e908706..6f6382e 100644
--- a/src/flac/utils.c
+++ b/src/flac/utils.c
@@ -171,13 +171,13 @@ static int console_chars_left;
int get_console_width(void)
{
int width = 80;
-#ifdef _WIN32
+#if defined _WIN32
width = win_get_console_width();
#elif defined __EMX__
- int s[2];
- _scrsize (s);
- width = s[0];
-#else
+ int s[2];
+ _scrsize (s);
+ width = s[0];
+#elif !defined __ANDROID__
struct winsize w;
if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) != -1) width = w.ws_col;
#endif
2014 Apr 09
2
Patch to fix compiler warnings and error status collisions
Erik de Castro Lopo wrote:
> This could also be fixed by adding a:
>
> decoder->protected_->initstate
>
> and using that correctly. Right?
>
> I'm going to play with this idea.
That fixed it. Commit is here:
https://git.xiph.org/?p=flac.git;a=commit;h=3f5208c30022b7cbd0b9095ad3550c4f6cb348c9
What didn't get added was this:
diff --git