http://www.perlmonks.org?node_id=1035051


in reply to Win32::GUI make file test fail

Hi,

GWL_USERDATA is defined as -21 in winuser.h.
Near the beginning of scintilla.xs, immediately following the line:
#include "./include/Scintilla.h"
I would insert:
#ifndef GWL_USERDATA #define GWL_USERDATA (-21) #endif
I don't think that insertion will create any problems. If it does, then we probably start to think that the GWL_USERDATA definition was skipped in the strawberry build for a very good reason.

Anyway, see how that goes - and if it fixes the problem, maybe ask the Strawberry developers (by posting to the strawberry mailing list) just how/why it is that their winuser.h definition of GWL_USERDATA is being skipped for Strawberry Perl.

Cheers,
Rob