comparison configure @ 36847:85fe1bbe2d53

Silence "warning: implicit declaration of function 'strcasecmp'". (This is for the Wine port.)
author ib
date Tue, 25 Feb 2014 17:38:54 +0000
parents b33a9dff0b57
children d0b9b50d1c07
comparison
equal deleted inserted replaced
36846:a3deb427384c 36847:85fe1bbe2d53
1813 def_priority="#define CONFIG_PRIORITY 1" 1813 def_priority="#define CONFIG_PRIORITY 1"
1814 def_path_max_check="#define CONFIG_PATH_MAX_CHECK 1" 1814 def_path_max_check="#define CONFIG_PATH_MAX_CHECK 1"
1815 fi 1815 fi
1816 1816
1817 if wine ; then 1817 if wine ; then
1818 extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK -Dstricmp=strcasecmp $extra_cflags" 1818 extra_cflags="-fno-pic -UWIN32 -U_WIN32 -U__WIN32 -U__WIN32__ -DWINE_NOWINSOCK -Dstricmp=lstrcmpiA $extra_cflags"
1819 fi 1819 fi
1820 1820
1821 if darwin && test "$cc_vendor" != "clang" ; then 1821 if darwin && test "$cc_vendor" != "clang" ; then
1822 extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags" 1822 extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags"
1823 fi 1823 fi