aboutsummaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2008-05-19 15:53:34 +0000
committerdrh <drh@noemail.net>2008-05-19 15:53:34 +0000
commit9a855cf852442ada8b4a0db113b0a8a91cff0bd9 (patch)
treec89f31cd227cf9aaf3a4267f72a29c455e9eefc2 /src/shell.c
parent8ef4263135b8e658ff12f449fbf6deb8f3714dc0 (diff)
downloadsqlite-9a855cf852442ada8b4a0db113b0a8a91cff0bd9.tar.gz
sqlite-9a855cf852442ada8b4a0db113b0a8a91cff0bd9.zip
In the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)
FossilOrigin-Name: 70793be63c0c6dab42d48c096e0e051e37d7e788
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shell.c b/src/shell.c
index 99f8f95ad..eceeee6bd 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -12,7 +12,7 @@
** This file contains code to implement the "sqlite" command line
** utility for accessing SQLite databases.
**
-** $Id: shell.c,v 1.178 2008/05/05 16:27:24 drh Exp $
+** $Id: shell.c,v 1.179 2008/05/19 15:53:35 drh Exp $
*/
#include <stdlib.h>
#include <string.h>
@@ -1946,7 +1946,7 @@ int main(int argc, char **argv){
}
}
if( i<argc ){
-#ifdef OS_OS2
+#if defined(OS_OS2) && OS_OS2
data.zDbFilename = (const char *)convertCpPathToUtf8( argv[i++] );
#else
data.zDbFilename = argv[i++];