>--- a/inc/user/linux/unistd.h Tue Oct 13 16:24:54 2009 >+++ b/inc/user/linux/unistd.h Tue Oct 13 16:01:13 2009 >@@ -36,7 +36,9 @@ > > #include <stdio.h> > >-#define sleep(s) SleepEx(s * 1000, TRUE) >+#ifndef sleep >+#define sleep(sec) SleepEx((sec) * 1000, TRUE) >+#endif
I would think we would want to remove the local definitions in favor of the common one. unistd.h doesn't support local definitions of sleep. _______________________________________________ ofw mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw
