diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-26 18:31:08 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-02-26 18:31:08 -0800 |
commit | c55cbd3f2f003ea6e36727f8b985e880d6aded85 (patch) | |
tree | 6d7cb6ab8ff2b485197e07c5e30e879c3dae9444 /fallback.h | |
parent | d89fcdcc5fe13e332ed6cb58998c052597c3f684 (diff) |
Hopeful fix for https://github.com/fish-shell/fish-shell/issues/594
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -346,12 +346,13 @@ size_t wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz); #endif -#ifdef HAVE_BROKEN_DEL_CURTERM - /** BSD del_curterm seems to do a double-free. We redefine it as a no-op */ -#define del_curterm(oterm) OK +#ifdef HAVE_BROKEN_DEL_CURTERM + #define fish_del_curterm(X) OK +#else + #define fish_del_curterm(X) del_curterm(X) #endif #ifndef HAVE_LRAND48_R |