Skip to content

Instantly share code, notes, and snippets.

@saitoha
Created July 28, 2014 05:34
Show Gist options
  • Save saitoha/1f26ab27d552582cdbdf to your computer and use it in GitHub Desktop.
Save saitoha/1f26ab27d552582cdbdf to your computer and use it in GitHub Desktop.
recterm: build fix for OSX
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