File link-grammar-4.6.7-windows.patch of Package mingw64-link-grammar
--- configure.in 2010-04-01 13:41:20.000000000 +0200
--- link-grammar/link-parser.c 2009-12-21 05:01:41.000000000 +0100
+++ link-grammar/link-parser.c 2009-12-21 05:02:30.000000000 +0100
@@ -42,7 +42,7 @@
#include <wchar.h>
/* Used for terminal resizing */
-#ifndef _MSC_VER
+#ifndef _WIN32
#include <termios.h>
#include <sys/ioctl.h>
#include <fcntl.h>
@@ -53,7 +53,7 @@
#include <editline/readline.h>
#endif
-#ifdef _MSC_VER
+#ifdef _WIN32
#define LINK_GRAMMAR_DLL_EXPORT 0
#endif