Skip to content
Permalink
Browse files
Merge pull request #3068 from sebastic/qtermwidget-kfreebsd
Add support for kFreeBSD to GRASS plugin.
  • Loading branch information
m-kuhn committed May 13, 2016
2 parents 8360936 + 9a48886 commit b1f59f3ed66ded2ebd4cb66656e07b7563481123
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/plugins/grass/qtermwidget/kpty.cpp
@@ -117,7 +117,7 @@ extern "C" {
# define _NEW_TTY_CTRL
#endif

#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
# define _tcgetattr(fd, ttmode) ioctl(fd, TIOCGETA, (char *)ttmode)
#else
# if defined(_HPUX_SOURCE) || defined(__Lynx__) || defined (__CYGWIN__)
@@ -127,7 +127,7 @@ extern "C" {
# endif
#endif

#if defined (__FreeBSD__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
#if defined (__FreeBSD__) || defined(__FreeBSD_kernel__) || defined (__NetBSD__) || defined (__OpenBSD__) || defined (__bsdi__) || defined(__APPLE__) || defined (__DragonFly__)
# define _tcsetattr(fd, ttmode) ioctl(fd, TIOCSETA, (char *)ttmode)
#else
# if defined(_HPUX_SOURCE) || defined(__CYGWIN__)

0 comments on commit b1f59f3

Please sign in to comment.