Patch (winnt.h): Expose member SectionAlignment of _IMAGE_SEPARATE_DEBUG_HEADER

"Ranjit Mathew" <[email protected]> Fri, 07 Mar 2003 19:12:50 +0530
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <[email protected]>
Hi,

    I just found out that this structure in winnt.h did not
expose the "SectionAlignment" member. You can confirm this
by looking up _IMAGE_SEPARATE_DEBUG_HEADER on Google (or
perhaps a vendor's header files).

Ranjit.


Index: ChangeLog
from  Ranjit Mathew  <[email protected]>

        * include/winnt.h (_IMAGE_SEPARATE_DEBUG_HEADER): Expose
        member SectionAlignment.

Index: include/winnt.h
===================================================================
--- include/winnt.h     Fri Mar  7 19:04:33 2003
+++ include/winnt.h     Fri Mar  7 19:06:48 2003
@@ -2579,5 +2579,6 @@
        DWORD ExportedNamesSize;
        DWORD DebugDirectorySize;
-       DWORD Reserved[3];
+       DWORD SectionAlignment;
+       DWORD Reserved[2];
} IMAGE_SEPARATE_DEBUG_HEADER,*PIMAGE_SEPARATE_DEBUG_HEADER;
#pragma pack(pop)


_________________________________________________________________
Cricket World Cup 2003- News, Views and Match Reports. 
http://server1.msn.co.in/msnspecials/worldcup03/



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com