[MPlayer-dev-eng] Re: [PATCH] osd menu fielsel.c

Björn Sandell biorn at dce.chalmers.se
Thu Nov 21 12:39:00 CET 2002


On Thu, 21 Nov 2002 12:09:34 +0100
Gábor Lénárt <lgb at lgb.hu> wrote:

> Maybe ;-) However I even don't now that struct dirent has got member d_type
> on EVERY systems (ie: is it part of any standard?) or not ... 

It is not standard.

> If no, some #ifdef should be inserted into the code figured out by
> ./configure or so ...

That is included in the patch I sent. Perhaps it should be extended to check
that you get DT_DIR (and not DT_UNKNOWN) when looking at a directory.

-- 
Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se



More information about the MPlayer-dev-eng mailing list