Created
December 29, 2012 09:07
-
-
Save diegostamigni/4405660 to your computer and use it in GitHub Desktop.
CScope build Mac OSX patch-fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/constants.h 2012-12-29 09:59:37.000000000 +0100 | |
+++ src/constants.h 2012-12-29 09:59:16.000000000 +0100 | |
@@ -103,7 +103,9 @@ | |
#define INCLUDES 8 | |
#define FIELDS 10 | |
-#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ | |
+#if (__APPLE__) | |
+# define TERMINFO 1 | |
+#elif (BSD || V9) && !__NetBSD__ && !__FreeBSD__ | |
# define TERMINFO 0 /* no terminfo curses */ | |
#else | |
# define TERMINFO 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment