diff options
author | drh <drh@noemail.net> | 2008-08-22 00:47:53 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-08-22 00:47:53 +0000 |
commit | f489c45a63f346dc81db2c6e5d18a7be2d47f699 (patch) | |
tree | b524d843de0db8ee6368373c1e6eaa72c75bf994 /src | |
parent | 831045dd33e524aee3ee86bd974e0310734dbec3 (diff) | |
download | sqlite-f489c45a63f346dc81db2c6e5d18a7be2d47f699.tar.gz sqlite-f489c45a63f346dc81db2c6e5d18a7be2d47f699.zip |
Fix os_unix.c so that it will compile on Linux again. (CVS 5588)
FossilOrigin-Name: 2416708208357304904e38b2d36081a1adf5e44b
Diffstat (limited to 'src')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index f78cb7ec8..37dc49a04 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -12,7 +12,7 @@ ** ** This file contains code that is specific to Unix systems. ** -** $Id: os_unix.c,v 1.196 2008/08/22 00:22:35 aswift Exp $ +** $Id: os_unix.c,v 1.197 2008/08/22 00:47:54 drh Exp $ */ #include "sqliteInt.h" #if SQLITE_OS_UNIX /* This file is used on unix only */ @@ -1173,9 +1173,11 @@ static int sqliteErrorFromPosixError(int posixError, int sqliteIOErr) { case EDEADLK: return SQLITE_IOERR_BLOCKED; +#if EOPNOTSUPP!=ENOTSUP case EOPNOTSUPP: /* something went terribly awry, unless during file system support * introspection, in which it actually means what it says */ +#endif case ENOTSUP: /* invalid fd, unless during file system support introspection, in which * it actually means what it says */ |