Web lists-archives.org

[Mingw-users] how can I remove the declaration of mkdir ?




Hey,

I would like to remove the declaration of mkdir, which is in io.h. The 
reason is that I am writing a lib that is porting several functions from 
the unix world, and I want to keep the same name. The problem here is that 
the mingw version of mkdir has only one parameter, unlike the unix one.

So, for mkdir, there are 2 macros that guard it : _NO_OLDNAMES and _UWIN

what would be the recommended way to remove mkdir declaration ? undef 
_NO_OLDNAMES or _UWIN ?

thank you

Vincent Torri

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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