dev 1.0.5 release

This commit is contained in:
zzy 2023-11-04 13:46:10 +08:00
parent 4f8a389ce3
commit 71820652af
2 changed files with 5 additions and 6 deletions

View File

@ -28,11 +28,11 @@
#ifndef SHUT_RD
#define SHUT_RD SD_RECEIVE
#endif
#ifndef SHUT_WD
#define SHUT_WD SD_SEND
#ifndef SHUT_WR
#define SHUT_WR SD_SEND
#endif
#ifndef SHUT_RDWD
#define SHUT_RDWD SD_BOTH
#ifndef SHUT_RDWR
#define SHUT_RDWR SD_BOTH
#endif
//#define socklen_t int

View File

@ -5,15 +5,14 @@
#include <time.h>
#if _OS_WIN
#define LOG_COLOR(code) \033[##code##m
#elif _OS_LINUX
#define LOG_COLOR(code) \x1b\x5b##code##m
#else
#error "Not Supported Operator System"
#endif
#define LOG_COLOR(code) \033\133##code##m
#define LOG_COLOR_TRACE LOG_COLOR(94)
#define LOG_COLOR_DEBUG LOG_COLOR(36)
#define LOG_COLOR_INFO LOG_COLOR(32)