|
From: | Jason Rumney |
Subject: | Re: file sizes shown incorrectly for large files under Windows |
Date: | Thu, 13 Nov 2003 14:25:50 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 |
Chris Moore wrote: > My ~/MinGW/2.0.0-3/include/windows.h doesn't mention wchar.h - do I
need a different version of MinGW, or should I be using a different compiler altogether? Which compiler and version do you have for Windows that has wchar.h included from windows.h?
I may be mistaken about the source of the inclusion of wchar.h, but stddef.h certainly does not include sys/stat.h on any set of headers I have. Something is including a definition of struct stat somewhere, otherwise we would be unable to compile w32.h, and the only two definitions of it are in sys/stat.h (which doesn't seem to be included from anywhere) and wchar.h (which I thought was included, maybe indirectly, by windows.h).
I still don't see any sense in including a header that is obviously not needed, and will be even less so if we redefine struct stat ourselves.
[Prev in Thread] | Current Thread | [Next in Thread] |