File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,48 +358,106 @@ static struct constant {
358358 {"INLCR" , INLCR },
359359 {"IGNCR" , IGNCR },
360360 {"ICRNL" , ICRNL },
361+ #ifdef IUCLC
361362 {"IUCLC" , IUCLC },
363+ #endif
362364 {"IXON" , IXON },
363365 {"IXANY" , IXANY },
364366 {"IXOFF" , IXOFF },
365367 {"IMAXBEL" , IMAXBEL },
366368
367369 /* struct termios.c_oflag constants */
368370 {"OPOST" , OPOST },
371+ #ifdef OLCUC
369372 {"OLCUC" , OLCUC },
373+ #endif
370374 {"ONLCR" , ONLCR },
375+ #ifdef OCRNL
371376 {"OCRNL" , OCRNL },
377+ #endif
378+ #ifdef ONOCR
372379 {"ONOCR" , ONOCR },
380+ #endif
381+ #ifdef ONLRET
373382 {"ONLRET" , ONLRET },
383+ #endif
384+ #ifdef OFILL
374385 {"OFILL" , OFILL },
386+ #endif
387+ #ifdef OFDEL
375388 {"OFDEL" , OFDEL },
389+ #endif
390+ #ifdef NLDLY
376391 {"NLDLY" , NLDLY },
392+ #endif
393+ #ifdef CRDLY
377394 {"CRDLY" , CRDLY },
395+ #endif
396+ #ifdef TABDLY
378397 {"TABDLY" , TABDLY },
398+ #endif
399+ #ifdef BSDLY
379400 {"BSDLY" , BSDLY },
401+ #endif
402+ #ifdef VTDLY
380403 {"VTDLY" , VTDLY },
404+ #endif
405+ #ifdef FFDLY
381406 {"FFDLY" , FFDLY },
407+ #endif
382408
383409 /* struct termios.c_oflag-related values (delay mask) */
410+ #ifdef NL0
384411 {"NL0" , NL0 },
412+ #endif
413+ #ifdef NL1
385414 {"NL1" , NL1 },
415+ #endif
416+ #ifdef CR0
386417 {"CR0" , CR0 },
418+ #endif
419+ #ifdef CR1
387420 {"CR1" , CR1 },
421+ #endif
422+ #ifdef CR2
388423 {"CR2" , CR2 },
424+ #endif
425+ #ifdef CR3
389426 {"CR3" , CR3 },
427+ #endif
428+ #ifdef TAB0
390429 {"TAB0" , TAB0 },
430+ #endif
431+ #ifdef TAB1
391432 {"TAB1" , TAB1 },
433+ #endif
434+ #ifdef TAB2
392435 {"TAB2" , TAB2 },
436+ #endif
437+ #ifdef TAB3
393438 {"TAB3" , TAB3 },
439+ #endif
394440#ifdef XTABS
395441 {"XTABS" , XTABS },
396442#endif
443+ #ifdef BS0
397444 {"BS0" , BS0 },
445+ #endif
446+ #ifdef BS1
398447 {"BS1" , BS1 },
448+ #endif
449+ #ifdef VT0
399450 {"VT0" , VT0 },
451+ #endif
452+ #ifdef VT1
400453 {"VT1" , VT1 },
454+ #endif
455+ #ifdef FF0
401456 {"FF0" , FF0 },
457+ #endif
458+ #ifdef FF1
402459 {"FF1" , FF1 },
460+ #endif
403461
404462 /* struct termios.c_cflag constants */
405463 {"CSIZE" , CSIZE },
You can’t perform that action at this time.
0 commit comments