[geany/geany-plugins] eee1cd: Merge pull request #182 from techee/osx

Jiří Techet git-noreply at xxxxx
Thu Jan 29 23:19:17 UTC 2015


Branch:      refs/heads/master
Author:      Jiří Techet <techet at gmail.com>
Committer:   Jiří Techet <techet at gmail.com>
Date:        Thu, 29 Jan 2015 23:19:17 UTC
Commit:      eee1cdc7a540d064255fd53aab16d368150bcb3c
             https://github.com/geany/geany-plugins/commit/eee1cdc7a540d064255fd53aab16d368150bcb3c

Log Message:
-----------
Merge pull request #182 from techee/osx

scope, debugger: use util.h instead of pty.h on OS X


Modified Paths:
--------------
    debugger/src/debug.c
    scope/src/conterm.c

Modified: debugger/src/debug.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -37,7 +37,11 @@ int grantpt(int fd);
 
 #include <string.h>
 #include <unistd.h>
+#ifdef __APPLE__
+#include <util.h>
+#else
 #include <pty.h>
+#endif
 #include <gtk/gtk.h>
 #include <gdk/gdkkeysyms.h>
 #include <vte/vte.h>


Modified: scope/src/conterm.c
4 lines changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -30,7 +30,11 @@
 #ifdef G_OS_UNIX
 #include <vte/vte.h>
 /* instead of detecting N kinds of *nix */
+#ifdef __APPLE__
+#include <util.h>
+#else
 #include <pty.h>
+#endif
 int grantpt(int fd);
 int unlockpt(int fd);
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list