compiler with xulrunner-1.9.0 - SERVER-359

This commit is contained in:
Eliot Horowitz
2009-10-15 16:07:14 -04:00
parent 9d96f7ec45
commit 7636df40d7
2 changed files with 4 additions and 2 deletions

View File

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