Windows binary saga
Dirk Hohndel
dirk at hohndel.org
Tue Sep 22 07:10:14 PDT 2015
I believe you only want that on android
--
Sent from my phone
> On Sep 22, 2015, at 06:14, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
>> On 22 September 2015 at 15:05, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>>
>> so apart from NO_DOCS=0, the only thing i'm not building at the moment
>> is FTDISUPPORT=1, but that's probably doable as well.
>
> alright,
>
> so libftdi builds (without the EEPROM part as i don't want to install
> the other libconfuse dependency thing), but the local serial_ftdi.c
> doesn't compile.
>
> Anton, if you are the maintainer of serial_ftdi.c, please review the
> attached patch so that Dirk can apply it
>
> timeradd()/timersub() are a BSD thing, not POSIX and Windows has never
> heard of them! :-(
> i've added replacements, but that's completely untested.
>
> on this:
> #define ERROR ...
> such a common name is a bad idea. conflicts with the existent
> definition in "wingdi.h", which the GDI people took pretentiously.
> i'm renaming it to *ERROR_MSG().
>
> there are also a ton of "const char* -> char *" and similar warnings
> (+ bad coding style), but i'm not touching that.
>
> lubomir
> --
> <0002-serial_ftdi-fix-missing-timeradd-timersub-on-Win32.patch>
More information about the subsurface
mailing list