Author: greg.ercolano Date: 2012-02-28 21:42:12 -0800 (Tue, 28 Feb 2012) New Revision: 9256 Log: Small #ifdef mod for windows builds.
Modified: branches/branch-1.3/examples/progress-simple.cxx Modified: branches/branch-1.3/examples/progress-simple.cxx =================================================================== --- branches/branch-1.3/examples/progress-simple.cxx 2012-02-29 05:37:30 UTC (rev 9255) +++ branches/branch-1.3/examples/progress-simple.cxx 2012-02-29 05:42:12 UTC (rev 9256) @@ -23,14 +23,14 @@ // http://www.fltk.org/str.php // -#ifdef _WIN32 +#ifdef WIN32 // WINDOWS #include <windows.h> #define usleep(v) Sleep(v/1000) -#else +#else /*WIN32*/ // UNIX #include <unistd.h> // usleep -#endif +#endif /*WIN32*/ // Button callback void butt_cb(Fl_Widget *butt, void *data) { _______________________________________________ fltk-commit mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-commit
