Revision: 41786
http://brlcad.svn.sourceforge.net/brlcad/?rev=41786&view=rev
Author: starseeker
Date: 2010-12-22 21:39:40 +0000 (Wed, 22 Dec 2010)
Log Message:
-----------
Try defining wait for Windows using Sleep... will this work?
Modified Paths:
--------------
brlcad/branches/cmake/src/vdeck/vdeck.c
Modified: brlcad/branches/cmake/src/vdeck/vdeck.c
===================================================================
--- brlcad/branches/cmake/src/vdeck/vdeck.c 2010-12-22 20:42:57 UTC (rev
41785)
+++ brlcad/branches/cmake/src/vdeck/vdeck.c 2010-12-22 21:39:40 UTC (rev
41786)
@@ -64,6 +64,13 @@
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
+#ifdef _WIN32
+# include <windows.h>
+inline int wait(int *sec){
+ Sleep(*sec * 1000);
+ return 1;
+}
+#endif
#include "bio.h"
#include "vmath.h"
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits