changeset 96536:3855b66380c9

(WS_EX_LAYERED): Define if not already.
author Jason Rumney <jasonr@gnu.org>
date Mon, 07 Jul 2008 10:58:52 +0000
parents 99d29280ea0d
children d6b81628f834
files src/w32term.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Mon Jul 07 09:57:21 2008 +0000
+++ b/src/w32term.c	Mon Jul 07 10:58:52 2008 +0000
@@ -145,6 +145,11 @@
 #ifndef LWA_ALPHA
 #define LWA_ALPHA 0x02
 #endif
+/* WS_EX_LAYERED is defined unconditionally by MingW, but only for W2K and
+   later targets by MSVC headers.  */
+#ifndef WS_EX_LAYERED
+#define WS_EX_LAYERED 0x80000
+#endif
 
 /* Frame being updated by update_frame.  This is declared in term.c.
    This is set by update_begin and looked at by all the