[Ffmpeg-devel] [PATCH] rewrite vhook/drawtext.c

Víctor Paesa wzrlpy
Mon Sep 4 22:59:16 CEST 2006


Hi,

>> >  #define MAXSIZE_TEXT 1024
>> > +#define _XOPEN_SOURCE 600
>>
>> What is that define needed for ?
>
> posix_fadvise() and possible others defined on later posix standard
> (not c90/99).

Cygwin does not implement it, probably because as
http://www.opengroup.org/onlinepubs/009695399/functions/posix_fadvise.html
says:

"The posix_fadvise() function is part of the Advisory Information option
 and need not be provided on all implementations."

Would it be possible to add some section in configure to check for existance
of posix_fadvise(), and provide a do_nothing() function if it is not
implemented?

Regards,
V?ctor Paesa





More information about the ffmpeg-devel mailing list