On Saturday 26 January 2008, Vincent Torri wrote: > On Sat, 26 Jan 2008, Mike Frysinger wrote: > >> I've tried to use gnulib once, for the port of the linux functions. It's > >> a pain to install and to use. I'll never touch that beast anymore :) > > > > it can be a beast, that's for sure. i'm not advocating the complexity > > there, just the idea: little chunks of .c/.h you can drop in and run > > with. > > > > since we seem to be on the same track now, if you want to revert the > > changes i made wrt windows.h/winsock2.h, feel free ... the other > > (non-windows) headers should stay the same of course though. > > i'm writing an e_win32 (or efl_win32 ?) lib that ports some functions > mostly fcntl, mmap, symlink, pipe and utility functions I use here and > there). I'll revert the changes when I use that lib. > > I'm just wondering if should name the functions like the unix ones, or > with an e_ prefix. If the latter, that would mean modifying the source > code and do some defines for the unix calls.
i guess it depends ... with "mmap", the symbol doesnt exist on mingw/win32 symbols, so if you simply had a win32 implementation of "mmap", i think that'd be ok. but for cases where the symbol exists but is deficient, dont really have an option with prefixing it ... -mike
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------- 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/
_______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel