net 部分兼容cl和gcc

master
caiyuzheng 2020-05-06 14:47:26 +08:00
parent 92c7cd5257
commit a5c51b5b1a
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
//
// Created by 29019 on 2020/4/18.
//
#define _WIN32_WINNT 0x0500
#ifndef GENERAL_TCPCLIENT_H
#define GENERAL_TCPCLIENT_H
extern "C"{

View File

@ -343,7 +343,7 @@
/* #undef EVENT__HAVE_SYS_TIMERFD_H */
/* Define to 1 if you have the <sys/time.h> header file. */
#define EVENT__HAVE_SYS_TIME_H 1
//#define EVENT__HAVE_SYS_TIME_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define EVENT__HAVE_SYS_TYPES_H 1
@ -541,5 +541,5 @@
/* Define to `int' if <sys/types.h> does not define. */
/* #undef EVENT__ssize_t */
#define EVENT__ssize_t int
#endif /* event2/event-config.h */