libwine: Fix some typos

Alexandre Julliard julliard at
Thu Dec 21 13:36:10 CST 2006

Andrew Talbot <Andrew.Talbot at> writes:

> I am getting "unrecognized identifier" messages when looking at
> ntdll/directory.c where it calls the S_ISCHR() and S_ISDIR() macros, these
> are caused by the identifiers like _S_IFMT in "wine/port.h" seemingly not
> being defined. The only place, on my system, where I could find definitions
> of these identifiers was in "include/msvcrt/sys/stat.h". Are files such as
> ntdll/directory.c and ntdll/file.c getting to know about these identifiers
> via a route that a static checker cannot follow?

On any decent Unix the S_ISCHR etc. macros are defined by sys/stat.h,
so our defines are never used.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list