This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem when cross-compiling trunk in libgcc2.c


On Thu, 19 Mar 2009 19:58:13 +0200, Ozkan Sezer <sezeroz@gmail.com> wrote:
> I'm a bit amazed that the prototype for VirtualProtect() is known to the
> compiler but the definition of DWORD is not.. In any case, it should be
> fixed easily by changing DWORD into unsigned int which is what a
> DWORD is always defined as.  And PR 39063 is still open anyway.
> --
> Ozkan

Yes you are right about the fact VirtualProtect is defined and not DWORD so
something is wrong with my includes
However you are wrong about DWORD definition it has always be defined
like this :

typedef unsigned long DWORD, *PDWORD, *LPDWORD; 

at least windows.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]