aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fallback.h b/fallback.h
index b9460f2b..82cef85d 100644
--- a/fallback.h
+++ b/fallback.h
@@ -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