summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorDaniel Colascione <dancol@dancol.org>2012-10-29 17:56:38 -0800
committerDaniel Colascione <dancol@dancol.org>2012-10-29 17:56:38 -0800
commit7f590b0c3b25602499432bf986e7b593fc158c0b (patch)
treeb8d582dbf2b848a4e9d7a998092a2eb31afe52cf /src/coding.h
parente29e39c9c6aee68a50fef5149cc3acdfa74fec72 (diff)
downloademacs-7f590b0c3b25602499432bf986e7b593fc158c0b.tar.gz
Fix build break in non-Cygw32 Cygwin builds introduced in 2012-10-29T17:24:29Z!dancol@dancol.org.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coding.h b/src/coding.h
index 6ba5f8e0e1e..192be58f083 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -701,7 +701,7 @@ extern void encode_coding_object (struct coding_system *,
Lisp_Object, ptrdiff_t, ptrdiff_t,
ptrdiff_t, ptrdiff_t, Lisp_Object);
-#if defined (WINDOWSNT) || defined (HAVE_NTGUI)
+#if defined (WINDOWSNT) || defined (CYGWIN)
/* These functions use Lisp string objects to store the UTF-16LE
strings that modern versions of Windows expect. These strings are
@@ -721,7 +721,7 @@ extern wchar_t *to_unicode (Lisp_Object str, Lisp_Object *buf);
failure modes. STR itself is not modified. */
extern Lisp_Object from_unicode (Lisp_Object str);
-#endif /* WINDOWSNT || HAVE_NTGUI */
+#endif /* WINDOWSNT || CYGWIN */
/* Macros for backward compatibility. */