made OXTABS and ONOEOT compilable when not available
This commit is contained in:
parent
121ae9bc76
commit
3a717bb768
@ -88,6 +88,18 @@
|
|||||||
# define X_SO_REUSEPORT 9999999 /* this must be a non-existent code */
|
# define X_SO_REUSEPORT 9999999 /* this must be a non-existent code */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(OXTABS)
|
||||||
|
# define X_OXTABS OXTABS
|
||||||
|
#else
|
||||||
|
# define X_OXTABS 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(ONOEOT)
|
||||||
|
# define X_ONOEOT ONOEOT
|
||||||
|
#else
|
||||||
|
# define X_ONOEOT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IMPLEMENTATION NOTE:
|
* IMPLEMENTATION NOTE:
|
||||||
* - hard failure only if it cannot make a final return value. (e.g. fnc_errmsg, fnc_fork, fnc_getpid)
|
* - hard failure only if it cannot make a final return value. (e.g. fnc_errmsg, fnc_fork, fnc_getpid)
|
||||||
@ -4960,9 +4972,9 @@ static inttab_t inttab[] =
|
|||||||
{ HAWK_T("TC_OFLAG_ONLCR"), { ONLCR } },
|
{ HAWK_T("TC_OFLAG_ONLCR"), { ONLCR } },
|
||||||
{ HAWK_T("TC_OFLAG_ONLRET"), { ONLRET } },
|
{ HAWK_T("TC_OFLAG_ONLRET"), { ONLRET } },
|
||||||
{ HAWK_T("TC_OFLAG_ONOCR"), { ONOCR } },
|
{ HAWK_T("TC_OFLAG_ONOCR"), { ONOCR } },
|
||||||
{ HAWK_T("TC_OFLAG_ONOEOT"), { ONOEOT } },
|
{ HAWK_T("TC_OFLAG_ONOEOT"), { X_ONOEOT } },
|
||||||
{ HAWK_T("TC_OFLAG_OPOST"), { OPOST } },
|
{ HAWK_T("TC_OFLAG_OPOST"), { OPOST } },
|
||||||
{ HAWK_T("TC_OFLAG_OXTABS"), { OXTABS } },
|
{ HAWK_T("TC_OFLAG_OXTABS"), { X_OXTABS } },
|
||||||
|
|
||||||
{ HAWK_T("TC_SADRAIN"), { TCSADRAIN } },
|
{ HAWK_T("TC_SADRAIN"), { TCSADRAIN } },
|
||||||
{ HAWK_T("TC_SAFLUSH"), { TCSAFLUSH } },
|
{ HAWK_T("TC_SAFLUSH"), { TCSAFLUSH } },
|
||||||
|
Loading…
Reference in New Issue
Block a user