mirror of
https://git.code.sf.net/p/fldigi/fldigi
synced 2026-08-13 17:47:54 -04:00
JTSDK build
* changes required for building in mingw JTSDK environment
This commit is contained in:
parent
2e5db4f16a
commit
fdb9fc8827
2 changed files with 4 additions and 4 deletions
|
|
@ -38,7 +38,7 @@
|
|||
# include <sys/select.h>
|
||||
#else
|
||||
# include "compat.h"
|
||||
#define socklen_t int
|
||||
# include <ws2tcpip.h>
|
||||
#endif
|
||||
|
||||
#define DEFAULT_BUFFER_SIZE 1024
|
||||
|
|
|
|||
|
|
@ -25,8 +25,10 @@
|
|||
#undef _WINSOCKAPI_
|
||||
# include <stdio.h>
|
||||
# include <winsock2.h>
|
||||
//# pragma lib(WS2_32.lib)
|
||||
# include <ws2tcpip.h>
|
||||
|
||||
//typedef int socklen_t;
|
||||
//# pragma lib(WS2_32.lib)
|
||||
// Updates to MXE require conditional test before assignment to
|
||||
// prevent duplicate defines.
|
||||
|
||||
|
|
@ -39,8 +41,6 @@
|
|||
#undef ETIMEDOUT
|
||||
#define ETIMEDOUT WSAETIMEDOUT
|
||||
|
||||
typedef int socklen_t;
|
||||
|
||||
#include "compat.h"
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue