> > Well, I'm pretty sure mmap() itself doesn't exist on Windows for
> > example. Now, it's true that the same functionality is available, but
> > the API is named something different (CreateFileMapping/MapViewOfFile
> > for mmap and UnMapViewOfFile/CloseHandle for munmap according to a quick
> > perusal of MSDN)
> 
> Gah, why can't they just implement basic posix syscalls? Life would get so
> much easier for everyone. I'm starting to understand now why companies who
> have Windows clients don't want to port it to Linux, it's way more work
> then
> it logically should be. At least it's #ifdef WIN32 ... #else ... #endif
> and not 400 different code chunks.
Why not 'simulate' these functions in windows with some module that looks
like this one:
http://chuck.netbsd.sk/source/xref/gstreamer-0.8.7/win32/mman.c



-------------------------------------------------------------------------
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/
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to