# HG changeset patch # User Jason Rumney # Date 1215428332 0 # Node ID 3855b66380c90aa9fcfd0be29a4761b10d494a1c # Parent 99d29280ea0db6cbc00bd8e113a819990135dc77 (WS_EX_LAYERED): Define if not already. diff -r 99d29280ea0d -r 3855b66380c9 src/w32term.c --- 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