diff src/globals.h @ 4168:ff193256398a v7.3.836

updated for version 7.3.836 Problem: Clipboard does not work on Win32 when compiled with Cygwin. Solution: Move the Win32 clipboard code to a separate file and use it when building with os_unix.c. (Frodak Baksik, Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 26 Feb 2013 14:56:42 +0100
parents 3b62d8f36cdf
children 0fcb050fd79d
line wrap: on
line diff
--- a/src/globals.h
+++ b/src/globals.h
@@ -802,7 +802,7 @@ EXTERN int	enc_dbcs INIT(= 0);		/* One o
 EXTERN int	enc_unicode INIT(= 0);	/* 2: UCS-2 or UTF-16, 4: UCS-4 */
 EXTERN int	enc_utf8 INIT(= FALSE);		/* UTF-8 encoded Unicode */
 EXTERN int	enc_latin1like INIT(= TRUE);	/* 'encoding' is latin1 comp. */
-# ifdef WIN3264
+# if defined(WIN3264) || defined(FEAT_CYGWIN_WIN32_CLIPBOARD)
 /* Codepage nr of 'encoding'.  Negative means it's not been set yet, zero
  * means 'encoding' is not a valid codepage. */
 EXTERN int	enc_codepage INIT(= -1);