Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for Cygwin #178

Open
HorkusBoy opened this issue Apr 2, 2014 · 1 comment
Open

Patch for Cygwin #178

HorkusBoy opened this issue Apr 2, 2014 · 1 comment

Comments

@HorkusBoy
Copy link

diff --git a/interface.c b/interface.c
index 2be2268..c01eb3e 100644
--- a/interface.c
+++ b/interface.c
@@ -33,8 +33,7 @@
#include <readline/readline.h>
#include <readline/history.h>
#else
-#include <readline/readline.h>
-#include <readline/history.h>
+#include <editline/readline.h>
#endif

#include "include.h"
diff --git a/loop.c b/loop.c
index 1ed78e5..074b4f9 100644
--- a/loop.c
+++ b/loop.c
@@ -32,8 +32,7 @@
#include <readline/readline.h>
#include <readline/history.h>
#else
-#include <readline/readline.h>
-#include <readline/history.h>
+#include <editline/readline.h>
#endif

#include <errno.h>
diff --git a/main.c b/main.c
index 44de05a..4768d73 100644
--- a/main.c
+++ b/main.c
@@ -29,7 +29,7 @@
#include <termios.h>
#include <unistd.h>
#include <assert.h>
-#if (READLINE == GNU)
+#ifdef READLINE_GNU
#include <readline/readline.h>
#else
#include <editline/readline.h>

@ypid
Copy link

ypid commented Nov 11, 2014

Hi, without reviewing your patch. I would suggest you checkout the Github help about how to use pull requests as it is not so easy to see on which commit your patch is based on …
You could also export patches with git, which would then include those information …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants