From 37c2cce029441d798b1fa9709bc5c16da0c32400 Mon Sep 17 00:00:00 2001 From: anders_k Date: Wed, 23 Nov 2016 00:38:57 +0000 Subject: [PATCH] Allow POSIX to see QUERYHOST constants even though there is no way to use them on those platforms git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6801 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/build.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/build.h b/Source/build.h index fef5bc0d..a90ea3bb 100644 --- a/Source/build.h +++ b/Source/build.h @@ -84,11 +84,11 @@ namespace MakensisAPI { enum sndmsg_e { QUERYHOST = WM_APP // [0x03000000] QUERYHOST_e in wParam. MUST return 0 for unknown QUERYHOST_e values! }; +#endif enum QUERYHOST_e { QH_OUTPUTCHARSET = 1, // [0x03000000] return (wincodepage+1) or 0 for default (This encoding is used by stdout, stderr and the notify messages) QH_ENABLESTDERR // [0x03001000] return 1 to output error messages to stderr or 0 to output error messages to stdout }; -#endif } #define PAGE_CUSTOM 0