1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-03 16:53:36 +03:00

In the CLI, handle the compilation option -DOS_OS2=0 correctly. (CVS 5141)

FossilOrigin-Name: 70793be63c0c6dab42d48c096e0e051e37d7e788
This commit is contained in:
drh
2008-05-19 15:53:34 +00:00
parent 8ef4263135
commit 9a855cf852
3 changed files with 10 additions and 10 deletions

View File

@@ -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++];