Subject: | [PATCH] Compile Fix for MinGW/Cygwin |
Does not compile on Cygwin, patch attached, please upload a new version
with the patch.
Subject: | 0001-fix-for-mingw-cygwin.patch |
From 9b9986a44faac13d62880d35ed683e564f1c433d Mon Sep 17 00:00:00 2001
From: Rafael Kitover <rkitover@cpan.org>
Date: Wed, 12 Jan 2011 10:22:19 -0500
Subject: [PATCH] fix for mingw/cygwin
---
Clipboard.xs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Clipboard.xs b/Clipboard.xs
index d1c6968..06e2aa2 100644
--- a/Clipboard.xs
+++ b/Clipboard.xs
@@ -22,6 +22,10 @@
#include <winuser.h>
#include <shellapi.h>
+#ifdef __GNUC__ /* mingw or cygwin */
+#include <wchar.h>
+#endif
+
#define __TEMP_WORD WORD /* perl defines a WORD, yikes! */
#ifdef __cplusplus
--
1.7.3.3