|
From: Eli Z. <el...@gn...> - 2015-02-06 14:37:19
|
> Date: Fri, 6 Feb 2015 14:53:24 +0100 > From: Miro Kropáček <mir...@gm...> > > I'm quite new to MinGW so excuse me if this is a known thing. I tried to look > it up on Google but with no luck. I'd like to use some members of the DIR > structure in my code (e.g. file handle). It's defined as: > > typedef struct __dirstream_t DIR; > > in dirent.h but it seems that definition of __dirstream_t is missing. Do I need > to install some additional package(s). Or what could be wrong here? I followed > the guide for both MinGW and MSYS. The definition of DIR is intentionally opaque, because applications are not supposed to fiddle with it. Its complete definition is in the MinGW sources, not in any header file. Can you tell why you need to access the members of DIR? |