mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
fix mac 64-bit
This commit is contained in:
parent
6d5e43755d
commit
05712a3965
@ -279,6 +279,7 @@ commonFiles += [ "util/background.cpp" , "util/mmap.cpp" , "util/sock.cpp" , "
|
||||
"util/assert_util.cpp" , "util/httpclient.cpp" , "util/md5main.cpp" , "util/base64.cpp" ]
|
||||
commonFiles += Glob( "util/*.c" )
|
||||
commonFiles += Split( "client/connpool.cpp client/dbclient.cpp client/model.cpp client/parallel.cpp" )
|
||||
commonFiles += [ "s/d_util.cpp" ]
|
||||
commonFiles += [ "scripting/engine.cpp" ]
|
||||
|
||||
#mmap stuff
|
||||
@ -954,7 +955,6 @@ elif not onlyServer:
|
||||
shell32BitFiles = coreShellFiles
|
||||
for f in allClientFiles:
|
||||
shell32BitFiles.append( "32bit/" + str( f ) )
|
||||
|
||||
shellEnv.VariantDir( "32bit" , "." )
|
||||
else:
|
||||
shellEnv.Prepend( LIBPATH=[ "." ] )
|
||||
|
@ -497,9 +497,4 @@ namespace mongo {
|
||||
return true;
|
||||
}
|
||||
|
||||
void checkShardVersion( DBClientBase & conn , const string& ns , bool authoritative = false ){
|
||||
// no-op in mongod
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
36
s/d_util.cpp
Normal file
36
s/d_util.cpp
Normal file
@ -0,0 +1,36 @@
|
||||
// util.cpp
|
||||
|
||||
/**
|
||||
* Copyright (C) 2008 10gen Inc.
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License, version 3,
|
||||
* as published by the Free Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
these are commands that live in mongod
|
||||
mostly around shard management and checking
|
||||
*/
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "util.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace mongo {
|
||||
|
||||
void checkShardVersion( DBClientBase & conn , const string& ns , bool authoritative ){
|
||||
// no-op in mongod
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user