Revision: 197 http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=197&view=rev Author: rorthomas Date: 2009-04-20 12:02:51 +0000 (Mon, 20 Apr 2009)
Log Message: ----------- fixed wsync linux error Modified Paths: -------------- trunk/build/wsync/source/main.cpp Modified: trunk/build/wsync/source/main.cpp =================================================================== --- trunk/build/wsync/source/main.cpp 2009-04-20 12:00:52 UTC (rev 196) +++ trunk/build/wsync/source/main.cpp 2009-04-20 12:02:51 UTC (rev 197) @@ -54,15 +54,15 @@ string remote_path = "/"; WSync *w = new WSync(); w->sync(local_path, remote_server, remote_path); +#ifdef WIN32 if(argc == 1) { -#ifdef WIN32 // wait for key press printf("Press any key to continue...\n"); _getch(); + } #endif - } -/* +#if 0 } else if(argc == 2 && !strcmp(argv[1], "test")) { std::vector< std::vector< std::string > > list; @@ -78,7 +78,7 @@ printf("'%s'\n", it2->c_str()); } } -*/ +#endif } else { usage(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Rigsofrods-devel mailing list Rigsofrods-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel