Ticket #1262: configure.diff

File configure.diff, 674 bytes (added by serge.levin.spb@…, 18 years ago)

patch to define HAVE_WINSOCK2_H syde-by-side with HAVE_WINSOCK2

  • configure

     
    28172817if test $_winsock2 = yes ; then
    28182818  _ld_sock="-lws2_32"
    28192819  _def_winsock2='#define HAVE_WINSOCK2 1'
     2820  _def_winsock2_h='#define HAVE_WINSOCK2_H 1'
    28202821else
    28212822  _def_winsock2='#undef HAVE_WINSOCK2'
     2823  _def_winsock2_h='#undef HAVE_WINSOCK2_H'
    28222824fi
    28232825
    28242826
     
    86328634/* enable winsock2 instead of Unix functions*/
    86338635$_def_winsock2
    86348636
     8637/* ffmpeg libavformat expects HAVE_WINSOCK2_H instead of HAVE_WINSOCK2 */
     8638$_def_winsock2_h
     8639
    86358640/* define this to use inet_aton() instead of inet_pton() */
    86368641$_def_use_aton
    86378642