dev 1.0.5 release
This commit is contained in:
parent
4f8a389ce3
commit
71820652af
@ -28,11 +28,11 @@
|
|||||||
#ifndef SHUT_RD
|
#ifndef SHUT_RD
|
||||||
#define SHUT_RD SD_RECEIVE
|
#define SHUT_RD SD_RECEIVE
|
||||||
#endif
|
#endif
|
||||||
#ifndef SHUT_WD
|
#ifndef SHUT_WR
|
||||||
#define SHUT_WD SD_SEND
|
#define SHUT_WR SD_SEND
|
||||||
#endif
|
#endif
|
||||||
#ifndef SHUT_RDWD
|
#ifndef SHUT_RDWR
|
||||||
#define SHUT_RDWD SD_BOTH
|
#define SHUT_RDWR SD_BOTH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#define socklen_t int
|
//#define socklen_t int
|
||||||
|
@ -5,15 +5,14 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#if _OS_WIN
|
#if _OS_WIN
|
||||||
#define LOG_COLOR(code) \033[##code##m
|
|
||||||
|
|
||||||
#elif _OS_LINUX
|
#elif _OS_LINUX
|
||||||
#define LOG_COLOR(code) \x1b\x5b##code##m
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "Not Supported Operator System"
|
#error "Not Supported Operator System"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define LOG_COLOR(code) \033\133##code##m
|
||||||
#define LOG_COLOR_TRACE LOG_COLOR(94)
|
#define LOG_COLOR_TRACE LOG_COLOR(94)
|
||||||
#define LOG_COLOR_DEBUG LOG_COLOR(36)
|
#define LOG_COLOR_DEBUG LOG_COLOR(36)
|
||||||
#define LOG_COLOR_INFO LOG_COLOR(32)
|
#define LOG_COLOR_INFO LOG_COLOR(32)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user