#696 winnt.h define typo in INVALID_FILE_ATTRIBUTES

closed-fixed
nobody
2004-12-23
2004-12-22
jll
No

I had a problem compiling a win32 program using the
windows.h includes.

It was the INVALID_FILE_ATTRIBUTES #define in winnt.h
I don't remember exactly what it was before, but I
changed it to match some similar ones in the same
header file and now my compile works:

#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)

Thanks. Love the win32 capability in MingW.

Discussion

  • Danny Smith

    Danny Smith - 2004-12-23
    • status: open --> closed-fixed
     
  • Danny Smith

    Danny Smith - 2004-12-23

    Logged In: YES
    user_id=11494

    Fixed over a year ago. It might be a good idea to update to
    more recent version of w32api.
    Danny

     
  • Earnie Boyd

    Earnie Boyd - 2004-12-23

    Logged In: YES
    user_id=15438

    Yes, please be sure to use the official CVS version of the
    source to submit patches. The official CVS for w32api is at
    sources.redhat.com in the src/winsup/w32api module.

     
  • jll

    jll - 2004-12-23

    Logged In: YES
    user_id=1183154

    Sorry guys. I'd just installed the mingw-3.1.0 package and
    assumed everything in there would be up to date. I'll make
    sure I check the CVS code next time.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks