aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2011-07-15 13:43:34 +0000
committerdan <dan@noemail.net>2011-07-15 13:43:34 +0000
commit33067e7393cd2272e1afb2fea2a8d7f8ae4dea89 (patch)
tree22e51a0e052e8377fc2e1c1610b9bab1e24ff467 /src/os_unix.c
parentbf4ec555fa99ce2968f8a309dab38e239bab6abc (diff)
downloadsqlite-33067e7393cd2272e1afb2fea2a8d7f8ae4dea89.tar.gz
sqlite-33067e7393cd2272e1afb2fea2a8d7f8ae4dea89.zip
In os_unix.c, check if the ESTALE macro is defined before using it.
FossilOrigin-Name: 87017410f2fc3f2ae15ef06714563ba9ad4350c7
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index f9a12a2fb..b2956c164 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -677,7 +677,9 @@ static int sqliteErrorFromPosixError(int posixError, int sqliteIOErr) {
case ENODEV:
case ENXIO:
case ENOENT:
+#ifdef ESTALE /* ESTALE is not defined on Interix systems */
case ESTALE:
+#endif
case ENOSYS:
/* these should force the client to close the file and reconnect */