compiler with xulrunner-1.9.0 - SERVER-359
This commit is contained in:
@@ -1172,7 +1172,7 @@ namespace mongo {
|
||||
spec->start = boost::posix_time::microsec_clock::local_time();
|
||||
spec->count = 0;
|
||||
JS_SetContextPrivate( _context, (void*)spec );
|
||||
#ifdef SM181
|
||||
#if defined(SM181) && !defined(XULRUNNER190)
|
||||
JS_SetOperationCallback( _context, _checkTimeout );
|
||||
#else
|
||||
JS_SetBranchCallback( _context, checkTimeout );
|
||||
@@ -1182,7 +1182,7 @@ namespace mongo {
|
||||
|
||||
void uninstallCheckTimeout( int timeoutMs ) {
|
||||
if ( timeoutMs > 0 ) {
|
||||
#ifdef SM181
|
||||
#if defined(SM181) && !defined(XULRUNNER190)
|
||||
JS_SetOperationCallback( _context , 0 );
|
||||
#else
|
||||
JS_SetBranchCallback( _context, 0 );
|
||||
|
||||
Reference in New Issue
Block a user