multiple constant definitions

Eric Pouech pouech-eric at wanadoo.fr
Wed Mar 31 12:26:40 CST 2004


Alexandre Julliard a écrit :
> Warren Turkal <wt at midsouth.rr.com> writes:
> 
> 
>>wt at braindead:~/src/wine/wine/include$ grep -ri 'c0000005' *
>>ntstatus.h:#define STATUS_ACCESS_VIOLATION          0xC0000005
>>winnt.h:#define STATUS_ACCESS_VIOLATION          0xC0000005
>>
>>I found this while searching for the cause of Empire Earth to not work.
>>These are defined in multiple places. Would it not be better to just
>>include ntstatus.h in winnt.h?
> 
> 
> No, Windows doesn't do that so we shouldn't either.
> 
sdk (tagged 2003-02) does it that way (constant is defined in both files)
A+



More information about the wine-devel mailing list