From 243c1b9920f2188bd033357cb01ea667a21ea0eb Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 23 Jul 2007 05:08:34 +0000 Subject: [PATCH] fixed bug #1758653 - CVS build failure on Linux i386 - TVS_RTLREADING undeclared git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5216 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsDialogs/rtl.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Contrib/nsDialogs/rtl.c b/Contrib/nsDialogs/rtl.c index 9ca28933..8850c557 100644 --- a/Contrib/nsDialogs/rtl.c +++ b/Contrib/nsDialogs/rtl.c @@ -4,6 +4,22 @@ #include "defs.h" #include "nsis.h" +#ifndef WS_EX_RIGHT +# define WS_EX_RIGHT 0x1000 +#endif + +#ifndef WS_EX_RTLREADING +# define WS_EX_RTLREADING 0x2000 +#endif + +#ifndef WS_EX_LEFTSCROLLBAR +# define WS_EX_LEFTSCROLLBAR 0x4000 +#endif + +#ifndef TVS_RTLREADING +# define TVS_RTLREADING 64 +#endif + extern struct nsDialog g_dialog; void __declspec(dllexport) SetRTL(HWND hwndParent, int string_size, char *variables, stack_t **stacktop, extra_parameters *extra)