TangLaoya / carve

Automatically exported from code.google.com/p/carve
Other
0 stars 0 forks source link

srandomdev() in geom3d_unittest.cpp #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
srandomdev() in geom3d_unittest.cpp is missing the #if defined() wrapper.

#if defined(__APPLE__)
  srandomdev();
#else
  srandom(time(NULL));
#endif

Original issue reported on code.google.com by honestgu...@gmail.com on 13 Feb 2012 at 7:47