diff options
author | drh <drh@noemail.net> | 2013-02-20 00:54:21 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-02-20 00:54:21 +0000 |
commit | d5d0f6432ce1cf89327a35d4fb7566176a58193d (patch) | |
tree | bec8c407b230b4b50216099a11b2a922903d91ac /src | |
parent | 344a97b4b0f32a2138b1b80410d01c82bb412dd1 (diff) | |
download | sqlite-d5d0f6432ce1cf89327a35d4fb7566176a58193d.tar.gz sqlite-d5d0f6432ce1cf89327a35d4fb7566176a58193d.zip |
On Minix, disable the ".timer" command in the shell in order to avoid
calling getrusage().
FossilOrigin-Name: 9bd9bd9cab8c804c1a51d472199459176044a633
Diffstat (limited to 'src')
-rw-r--r-- | src/shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index 1428a45f0..c6d7fa3d5 100644 --- a/src/shell.c +++ b/src/shell.c @@ -90,7 +90,8 @@ static int enableTimer = 0; #define IsDigit(X) isdigit((unsigned char)X) #define ToLower(X) (char)tolower((unsigned char)X) -#if !defined(_WIN32) && !defined(WIN32) && !defined(_WRS_KERNEL) +#if !defined(_WIN32) && !defined(WIN32) && !defined(_WRS_KERNEL) \ + && !defined(__minux) #include <sys/time.h> #include <sys/resource.h> |