openbsd-ports/editors/vim/patches/patch-src_vim_h
2016-03-02 11:54:28 +00:00

12 lines
391 B
Plaintext

$OpenBSD: patch-src_vim_h,v 1.6 2016/03/02 11:54:29 sthen Exp $
--- src/vim.h.orig Mon Feb 29 22:12:49 2016
+++ src/vim.h Tue Mar 1 18:27:49 2016
@@ -276,6 +276,7 @@
&& !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
# include "auto/osdef.h" /* bring missing declarations in */
#endif
+#define UNUSED __attribute__((unused))
#ifdef __EMX__
# define getcwd _getcwd2