win: replace c99 comments with c89 comments (#4270)
This commit is contained in:
parent
1dd0ab1315
commit
64bd28f5ba
@ -45,7 +45,7 @@ typedef struct pollfd {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mswsock.h>
|
#include <mswsock.h>
|
||||||
// Disable the typedef in mstcpip.h of MinGW.
|
/* Disable the typedef in mstcpip.h of MinGW. */
|
||||||
#define _TCP_INITIAL_RTO_PARAMETERS _TCP_INITIAL_RTO_PARAMETERS__AVOID
|
#define _TCP_INITIAL_RTO_PARAMETERS _TCP_INITIAL_RTO_PARAMETERS__AVOID
|
||||||
#define TCP_INITIAL_RTO_PARAMETERS TCP_INITIAL_RTO_PARAMETERS__AVOID
|
#define TCP_INITIAL_RTO_PARAMETERS TCP_INITIAL_RTO_PARAMETERS__AVOID
|
||||||
#define PTCP_INITIAL_RTO_PARAMETERS PTCP_INITIAL_RTO_PARAMETERS__AVOID
|
#define PTCP_INITIAL_RTO_PARAMETERS PTCP_INITIAL_RTO_PARAMETERS__AVOID
|
||||||
@ -70,7 +70,7 @@ typedef struct pollfd {
|
|||||||
# define S_IFLNK 0xA000
|
# define S_IFLNK 0xA000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Define missing in Windows Kit Include\{VERSION}\ucrt\sys\stat.h
|
/* Define missing in Windows Kit Include\{VERSION}\ucrt\sys\stat.h */
|
||||||
#if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES && !defined(S_IFIFO)
|
#if defined(_CRT_INTERNAL_NONSTDC_NAMES) && _CRT_INTERNAL_NONSTDC_NAMES && !defined(S_IFIFO)
|
||||||
# define S_IFIFO _S_IFIFO
|
# define S_IFIFO _S_IFIFO
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user