0
0
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:
Eliot Horowitz 2009-08-12 14:54:53 -04:00
parent e07cbd8434
commit 7b9da727ba
3 changed files with 5 additions and 3 deletions

View File

@ -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 )

View File

@ -57,7 +57,6 @@ char * shellReadline( const char * prompt ){
}
#if !defined(_WIN32)
#include <execinfo.h>
#include <string.h>
void quitNicely( int sig ){

View File

@ -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 */