Conditionally rename main to mosh_main for building under NaCl.

This commit is contained in:
Richard Woodbury
2014-01-19 19:09:21 -05:00
parent 50152bfcba
commit cd1317b273
+4
View File
@@ -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();