Skip to content

Instantly share code, notes, and snippets.

@diegostamigni
Created December 29, 2012 09:07
Show Gist options
  • Save diegostamigni/4405660 to your computer and use it in GitHub Desktop.
Save diegostamigni/4405660 to your computer and use it in GitHub Desktop.
CScope build Mac OSX patch-fix
--- 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