mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
compile on 10.4 SERVER-231
This commit is contained in:
parent
e07cbd8434
commit
7b9da727ba
@ -639,6 +639,9 @@ def doConfigure( myenv , needJava=True , needPcre=True , shell=False ):
|
||||
# this will add it iff it exists and works
|
||||
myCheckLib( "boost_system" + boostCompiler + "-mt" )
|
||||
|
||||
if not conf.CheckCXXHeader( "execinfo.h" ):
|
||||
myenv.Append( CPPDEFINES=[ "NOEXECINFO" ] )
|
||||
|
||||
if needJava:
|
||||
for j in javaLibs:
|
||||
myCheckLib( j , True , True )
|
||||
|
@ -57,7 +57,6 @@ char * shellReadline( const char * prompt ){
|
||||
}
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#include <execinfo.h>
|
||||
#include <string.h>
|
||||
|
||||
void quitNicely( int sig ){
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
namespace mongo {
|
||||
|
||||
#if !defined(_WIN32)
|
||||
#if !defined(_WIN32) && !defined(NOEXECINFO)
|
||||
|
||||
} // namespace mongo
|
||||
|
||||
@ -60,7 +60,7 @@ namespace mongo {
|
||||
free (strings);
|
||||
}
|
||||
#else
|
||||
inline void printStackTrace() { }
|
||||
inline void printStackTrace( ostream &o = cout ) { }
|
||||
#endif
|
||||
|
||||
/* set to TRUE if we are exiting */
|
||||
|
Loading…
Reference in New Issue
Block a user