0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

Use merged linenoise on windows SERVER-1763

This commit is contained in:
Mathias Stearn 2011-04-11 18:59:00 -04:00
parent 00c383f6c0
commit ae79f44dd2
2 changed files with 2 additions and 5 deletions

View File

@ -1179,10 +1179,7 @@ elif not onlyServer:
coreShellFiles = [ "shell/dbshell.cpp" , "shell/shell_utils.cpp" , "shell/mongo-server.cpp" ]
if not windows:
coreShellFiles.append( "third_party/linenoise/linenoise.cpp" )
else:
coreShellFiles.append( "third_party/linenoise/linenoise_win32.cpp" )
coreShellFiles.append( "third_party/linenoise/linenoise.cpp" )
shellEnv.Prepend( LIBPATH=[ "." ] )

View File

@ -50,7 +50,7 @@ bool autoKillOp = false;
jmp_buf jbuf;
#endif
#if defined(USE_LINENOISE) && !defined(WIN32) && !defined(_WIN32)
#if defined(USE_LINENOISE)
#define USE_TABCOMPLETION
#endif