On 09/08/13 10:25, Martin Storsjö wrote: > Add one copy of the function into each of the libraries, similarly > to what we do for log2_tab. When using static libs, only one > copy of the file_open.o object file gets included, while when > using shared libraries, each of them get a copy of its own. > > This fixes DLL builds with a statically linked C runtime, where > each DLL effectively has got its own instance of the C runtime, > where file descriptors can't be shared across runtimes. > ---
I can live better with the inline overhead now that I can see how easy would be desynching. And I'd make it happen only on windows. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
