Created
July 28, 2014 05:34
-
-
Save saitoha/1f26ab27d552582cdbdf to your computer and use it in GitHub Desktop.
recterm: build fix for OSX
This file contains 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
diff --git a/conf.h b/conf.h | |
index d598ffb..21e3160 100644 | |
--- a/conf.h | |
+++ b/conf.h | |
@@ -49,7 +49,7 @@ const char *term_name = "yaft-256color"; | |
//const char *fb_path = "/dev/graphics/fb0"; /* for Android */ | |
/* shell */ | |
-#if defined(__linux__) | |
+#if defined(__linux__) || defined(__MACH__) | |
const char *shell_cmd = "/bin/bash"; | |
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) | |
const char *shell_cmd = "/bin/csh"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment