Last active
August 29, 2015 14:00
-
-
Save staticfloat/11153142 to your computer and use it in GitHub Desktop.
readline 6.3 patch for Julia 0.2.1
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/ui/repl-readline.c b/ui/repl-readline.c | |
index ccdaf56..30a27d7 100644 | |
--- a/ui/repl-readline.c | |
+++ b/ui/repl-readline.c | |
@@ -831,7 +831,7 @@ void jl_init_repl(int history) | |
rl_instream = fopen("/dev/null","r"); | |
prompt_length = 7; // == strlen("julia> ") | |
init_history(); | |
- rl_startup_hook = (Function*)init_rl; | |
+ rl_startup_hook = (rl_hook_func_t*)init_rl; | |
} | |
static char *prompt_string=NULL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment