Merge pull request #514 from rpwoodbu/mosh-nacl
Conditionally rename main to mosh_main for building under NaCl.
This commit is contained in:
@@ -93,7 +93,11 @@ void print_colorcount( void )
|
||||
printf( "%d\n", color_val );
|
||||
}
|
||||
|
||||
#ifdef NACL
|
||||
int mosh_main( int argc, char *argv[] )
|
||||
#else
|
||||
int main( int argc, char *argv[] )
|
||||
#endif
|
||||
{
|
||||
/* For security, make sure we don't dump core */
|
||||
Crypto::disable_dumping_core();
|
||||
|
||||
Reference in New Issue
Block a user