Web lists-archives.org

Re: [Mingw-users] scandir and mingw




David Bruce wrote:
> Hi,
> 
> It appears that the default mingw environment does not provide scandir.  What 
> is the preferred way to work around this?  My program currently has its own 
> replacement that gets called in the Windows cross-build by means of 
> some "ifdef WIN32" statements.  From some googling, it seems that GNU's 
> Gnulib is intended to address this category of issues, but it does not seem 
> to include scandir.
> 
> Thanks for any suggestions, 
mingw is basically just a way to compile WIN32 apps without using MS 
tools, it does not provide functions which are specific to *nix systems. 
If you wish to compile a program that uses *nix function you should use 
Cygwin which does provide that capability.

hth


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users