]> www.ginac.de Git - cln.git/blobdiff - src/base/random/cl_random_from.cc
Rework of autoconfiscation infrastructure
[cln.git] / src / base / random / cl_random_from.cc
index f73b0353427a3f17e00732ab33f948fef20f67c3..546bd3e15a92b41fe518b07cb3f187cbb83ddff7 100644 (file)
@@ -34,22 +34,6 @@ inline uint32 get_seed (void)
        return cln::highlow32(tv.tv_sec,tv.tv_usec); // 16+16 zufällige Bits
 }
 
-#elif defined(HAVE_FTIME)
-
-#include <sys/timeb.h>
-#ifdef _WIN32
-  extern "C" void ftime (struct timeb * tp);
-#else
-  extern "C" int ftime (struct timeb * tp);
-#endif
-
-inline uint32 get_seed (void)
-{
-       var struct timeb tb;
-       ftime(&tb);
-       return (tb.time << 10) | tb.millitm; // 22+10 zufällige Bits
-}
-
 #elif defined(HAVE_TIMES_CLOCK)
 
 #include <time.h>