[flac-dev] FLAC currently won't compile for Android [bisected]
Felix Homann
linuxaudio at showlabor.de
Wed May 22 07:03:50 PDT 2013
Sorry that it took so long to reply. As mentioned in an earlier mail my
first bisect session wasn't accurate. I've done a new one:
git bisect bad
d0c219f1978dbaa00a063ac82aa75c8af152cbbb is the first bad commit
commit d0c219f1978dbaa00a063ac82aa75c8af152cbbb
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date: Sun Apr 21 16:16:44 2013 +1000
A set of windows utf8 patches fromJanne Hyvärinen <cse at sci.fi>.
:040000 040000 a95dce6a0693a0a234673783b0223d71f2b25b02
21c7a6e2ba38b7dba2c700b999240b82f93a3b65 M src
The relevant part seems to be this one:
+int get_console_width()
+{
+ int width = 80;
+#ifdef _WIN32
+ width = win_get_console_width();
+#else
+ struct winsize w;
+ if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) != -1) width = w.ws_col;
+#endif
+ return width;
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20130522/959aa465/attachment.htm
More information about the flac-dev
mailing list