jed-users mailing list

[2002 Date Index] [2002 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: getting jed working in cygwin


Duncan Mak <duncan@xxxxxxxxxx> wrote:
>Are there precompiled versions of Jed for Cygwin? I compiled s-lang and
>that worked fine, but compiling jed stops in jprocess.c because of a
>missing stropts.h header.

As far as I recall, the only change I had to make to get a cygwin
version was:

--- ../release/jed/jed-B0.99-15/src/pty.c	Mon Oct  8 00:48:16 2001
+++ src/pty.c	Thu Feb  7 01:23:30 2002
@@ -18,7 +18,7 @@
 
 #include <errno.h>
 
-#if !defined (__linux__) && defined(HAVE_GRANTPT)
+#if !defined (__linux__) && !defined(__CYGWIN__) && defined(HAVE_GRANTPT)
 # define USE_SYSV_PTYS
 # include <sys/types.h>
 # include <stropts.h>

--John

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2002 date index] [2002 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]