On Thu, Feb 14, 2013 at 6:49 AM, Thomas Cort <tc...@minix3.org> wrote:
> Hello, > > The timer code in src/shell.c relies heavily on getrusage(). Some > platforms, Minix for example, don't have getrusage() yet, but it may > get it in the future. The attached patch "patch-configure.ac" adds a > check for the getrusage function. The other attached patch > "patch-src_shell.c" disables the timer code (beginTimer, endTimer, > etc) on platforms that don't have HAVE_GETRUSAGE defined. > To make the suggested change would require that all makefiles for SQLlite that are not built using configure (and there are lots of these) would have to be revised to add -DHAVE_GETRUSAGE in order to get the .timer feature. That is unacceptable. If you can suggest a patch that tests to see if getrusage() is missing and sets a macro only if it is missing, then we will consider such a patch. -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users