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

Tapeutils doesn't build with Cygwin #15

Closed
jfcl opened this issue Apr 16, 2022 · 2 comments
Closed

Tapeutils doesn't build with Cygwin #15

jfcl opened this issue Apr 16, 2022 · 2 comments

Comments

@jfcl
Copy link
Contributor

jfcl commented Apr 16, 2022

Simple obvious fix attached.

$ git diff -u read20.c
diff --git a/read20.c b/read20.c
index 92ee00a..b152bf7 100644
--- a/read20.c
+++ b/read20.c
@@ -86,7 +86,7 @@ char *expression = 0;
 char *re_comp_error;     /* Error message from re_comp() */
 extern char *re_comp();

-#if defined(__APPLE__) || defined(__OpenBSD__)
+#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__CYGWIN__)
 static regex_t re_regexp;

 char *re_comp(char *s)
@jfcl
Copy link
Contributor Author

jfcl commented Apr 16, 2022

Submitted pull request #14

@larsbrinkhoff
Copy link
Collaborator

Merged; thanks!

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