Hi All,

  I believe the definition of INVALID_FILE_ATTRIBUTES in
/usr/include/w32api/winnt.h is broken:

#define INVALID_FILE_ATTRIBUTES (DWORD (-1))

It is missing a () around DWORD. To try this out, use the
following test program:

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

#include <windows.h>

void main ()
{
        printf ("X: %d.\n", INVALID_FILE_ATTRIBUTES);
}

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

                                                         bye

                                                           
   Zoltan



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to