removed a bug
This commit is contained in:
@ -31,7 +31,7 @@ typedef size_t sys_adr_len; /* argument of accept and gethostbyadr */
|
|||||||
|
|
||||||
void sys_ctrl_init(void);
|
void sys_ctrl_init(void);
|
||||||
|
|
||||||
#elif defined __unix
|
#elif defined __alpha || defined __unix
|
||||||
|
|
||||||
#define F_CHAR(VAR) char *VAR
|
#define F_CHAR(VAR) char *VAR
|
||||||
#define STR_TO_C(DST,SRC) str_ntrim(DST, SRC, sizeof(DST), SRC##_len)
|
#define STR_TO_C(DST,SRC) str_ntrim(DST, SRC, sizeof(DST), SRC##_len)
|
||||||
@ -39,7 +39,7 @@ void sys_ctrl_init(void);
|
|||||||
|
|
||||||
typedef int sys_adr_len; /* argument of accept and gethostbyadr */
|
typedef int sys_adr_len; /* argument of accept and gethostbyadr */
|
||||||
|
|
||||||
#define sys_ctrl_init() {}
|
#define sys_ctrl_init(DUMMY) 0
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user