dev 1.0.5 release
This commit is contained in:
parent
4f8a389ce3
commit
71820652af
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user