Skip to content

Commit

Permalink
Merge pull request #358 from ThePrez/ibmi
Browse files Browse the repository at this point in the history
Allow for differently-named VWERASE/VDISCARD
  • Loading branch information
Tyriar committed Oct 16, 2019
2 parents 932f1a2 + d64a9be commit 74edc71
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/unix/pty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@

#include <termios.h> /* tcgetattr, tty_ioctl */

/* Some platforms name VWERASE and VDISCARD differently */
#if !defined(VWERASE) && defined(VWERSE)
#define VWERASE VWERSE
#endif
#if !defined(VDISCARD) && defined(VDISCRD)
#define VDISCARD VDISCRD
#endif

/* environ for execvpe */
/* node/src/node_child_process.cc */
#if defined(__APPLE__) && !TARGET_OS_IPHONE
Expand Down

0 comments on commit 74edc71

Please sign in to comment.