* configure.ac: Use `ws2_32' library for srv_mingw.
* configure: Regenerate. * gdbreplay.c: Include winsock2.h instead of winsock.h. * remote-utils.c: Likewise.
This commit is contained in:
parent
ed41462c79
commit
12ea4b6986
5 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-04-17 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* configure.ac: Use `ws2_32' library for srv_mingw.
|
||||
* configure: Regenerate.
|
||||
* gdbreplay.c: Include winsock2.h instead of winsock.h.
|
||||
* remote-utils.c: Likewise.
|
||||
|
||||
2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* linux-x86-low.c (xmltarget_amd64_linux_no_xml): Define only
|
||||
|
|
2
gdb/gdbserver/configure
vendored
2
gdb/gdbserver/configure
vendored
|
@ -4056,7 +4056,7 @@ esac
|
|||
if test "${srv_mingwce}" = "yes"; then
|
||||
LIBS="$LIBS -lws2"
|
||||
elif test "${srv_mingw}" = "yes"; then
|
||||
LIBS="$LIBS -lwsock32"
|
||||
LIBS="$LIBS -lws2_32"
|
||||
elif test "${srv_qnx}" = "yes"; then
|
||||
LIBS="$LIBS -lsocket"
|
||||
fi
|
||||
|
|
|
@ -118,7 +118,7 @@ esac
|
|||
if test "${srv_mingwce}" = "yes"; then
|
||||
LIBS="$LIBS -lws2"
|
||||
elif test "${srv_mingw}" = "yes"; then
|
||||
LIBS="$LIBS -lwsock32"
|
||||
LIBS="$LIBS -lws2_32"
|
||||
elif test "${srv_qnx}" = "yes"; then
|
||||
LIBS="$LIBS -lsocket"
|
||||
fi
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
#endif
|
||||
|
||||
#if USE_WIN32API
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SOCKLEN_T
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
#endif
|
||||
|
||||
#if USE_WIN32API
|
||||
#include <winsock.h>
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
|
||||
#if __QNX__
|
||||
|
|
Loading…
Reference in a new issue