Displaying 2 results from an estimated 2 matches for "6f6382e".
Did you mean:
6f61d2e
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]
...o long to reply. As mentioned in an earlier mail
> my first bisect session wasn't accurate. I've done a new one:
>
>
Here's my patch suggestion but I'm no Android guy.
-------------- next part --------------
diff --git a/src/flac/utils.c b/src/flac/utils.c
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);
-...