--- tmux-git/configure.ac.orig	2014-08-01 09:02:43.557200000 +0400
+++ tmux-git/configure.ac	2014-08-01 09:03:03.306800000 +0400
@@ -504,6 +504,10 @@
 		AC_MSG_RESULT(cygwin)
 		PLATFORM=cygwin
 		;;
+	*msys*)
+		AC_MSG_RESULT(msys)
+		PLATFORM=msys
+		;;
 	*)
 		AC_MSG_RESULT(unknown)
 		PLATFORM=unknown
