Heya all,

When compiling the WidgetGallery project, StyleLayout.c includes
StyleLayout.h which has a "#include <unistd.h>" because of a "sleep(2)" in
"load" method.
Since there`s no such thing as unistd.h in windows, the compilation will
fail in that system.

I suggest the "sleep(2)" in the load method could be changed into:
*boost*::this_thread::*sleep*(*boost*::posix_time::milliseconds(2000));

and the include to:
#include <*boost*/thread/thread.hpp>


That should do the trick. I also suggest that all sleep events in Wt (if
there are any others in future releases) be performed as such.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to