Problem: Compiler warnings on Cygwin.
Solution: Add type casts. Add windows include files. (Ken Takata)
p += 6;
if (p[0] == 'c' && p[1] == 'p')
- cp = atoi(p + 2);
+ cp = atoi((char *)p + 2);
else if ((idx = enc_canon_search(p)) >= 0)
cp = enc_canon_table[idx].codepage;
else
#include "vim.h"
+#ifdef FEAT_CYGWIN_WIN32_CLIPBOARD
+# define WIN32_LEAN_AND_MEAN
+# include <windows.h>
+# include "winclip.pro"
+#endif
+
void
ui_write(s, len)
char_u *s;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1311,
/**/
1310,
/**/