Hi,

On Mon, Jun 1, 2015 at 12:25 PM, Jacek Caban <[email protected]> wrote:
> On 06/01/15 10:53, İsmail Dönmez wrote:
>> On Thu, May 28, 2015 at 8:58 PM, İsmail Dönmez <[email protected]> wrote:
>>> On Thu, May 28, 2015 at 6:51 PM, Jacek Caban <[email protected]> wrote:
>>>>
>>>> I committed the change, but I noticed that you modified winnt.h from
>>>> widl directory. I removed that part because that's just an internal side
>>>> effect of importing it from Wine. The one we care about is in
>>>> mingw-w64-headers/include.
>>> Btw, without winnt.h change, I still cannot compile the example
>>> program from 
>>> http://blogs.msdn.com/b/oldnewthing/archive/2015/05/18/10615339.aspx
>>> so I think, it also should be applied.
>> Would you mind applying the winnt.h part too? I guess it wouldn't hurt
>> to keep those definitions in sync.
>
> As I said, winnt.h from widl directory is not meant to be used to build
> anything with mingw-w64 except internal widl usage. Please prepare and
> test a patch for mingw-w64-header/include/winnt.h.

Now I get it, please see the attached patch.
diff --git a/mingw-w64-headers/include/winnt.h b/mingw-w64-headers/include/winnt.h
index bfecb7b..8d8bd0d 100644
--- a/mingw-w64-headers/include/winnt.h
+++ b/mingw-w64-headers/include/winnt.h
@@ -5878,6 +5878,7 @@ __buildmemorybarrier()
 #define IMAGE_SUBSYSTEM_XBOX 14
 #define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION 16
 
+#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 0x0020
 #define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040
 #define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY 0x0080
 #define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x0100
@@ -5886,6 +5887,7 @@ __buildmemorybarrier()
 #define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800
 #define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000
 #define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000
+#define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000
 #define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000
 
 #define IMAGE_DIRECTORY_ENTRY_EXPORT 0
------------------------------------------------------------------------------
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to