Diego Biurrun <di...@biurrun.de> writes:

> On Fri, Nov 16, 2012 at 11:19:47PM +0000, Mans Rullgard wrote:
>> This is (erroneously) required to enable various things in the
>> newlib headers.  As cygwin uses newlib, it is covered by this.
>> 
>> --- a/configure
>> +++ b/configure
>> @@ -2863,7 +2863,6 @@ case $target_os in
>>          SHFLAGS='-shared -Wl,--out-implib,$(SUBDIR)lib$(FULLNAME).dll.a'
>>          objformat="win32"
>>          enable dos_paths
>> -        add_cppflags -U__STRICT_ANSI__
>>          ;;
>>      *-dos|freedos|opendos)
>>          network_extralibs="-lsocket"
>> @@ -2964,6 +2963,7 @@ elif check_header _mingw.h; then
>>          die "ERROR: MinGW runtime version must be >= 3.15."
>>  elif check_cpp_condition newlib.h "defined _NEWLIB_VERSION"; then
>>      libc_type=newlib
>> +    add_cppflags -U__STRICT_ANSI__
>>  elif check_func_headers stdlib.h _get_doserrno; then
>>      libc_type=msvcrt
>>      add_compat strtod.o strtod=avpriv_strtod
>
> We also add that CPPFLAG for dos and mingw - coincidence or do those
> systems have to be changed as well?

mingw is a (somewhat) different beast as you'd notice if you looked a
few lines up.  No idea about DOS.

-- 
Måns Rullgård
m...@mansr.com
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to