Mercurial > ~mikael > mcabber > hg
view mcabber/libjabber/config.h.in @ 1497:35020a2ed115
Do not use srand()/rand() if better alternatives exist (mirabilos)
arc4random(3) is a self-seeding PRNG available on a lot of OSes (all BSDs,
Darwin / Mac OSX, Interix / Microsoft® Services for Unix, Windows® 2003SR1,
Windows® Vista, Debian with the new libbsd package installed, ???) and much
better than srand(3)/rand(3).
Thanks to GNU autoconf, this can be made portable.
http://www.mirbsd.org/man/arc4random.3
//mirabilos
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 30 Jun 2008 23:13:50 +0200 |
parents | bf3d6e241714 |
children |
line wrap: on
line source
/* include/config.h.in. Generated automatically from configure.in by autoheader. */ /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN #undef POOL_NO_HEAP #undef HAVE_LIBSOCKET #undef HAVE_SNPRINTF /* The number of bytes in a int. */ #undef SIZEOF_INT /* The number of bytes in a short. */ #undef SIZEOF_SHORT /* Define if you have the nsl library (-lnsl). */ #undef HAVE_LIBNSL /* Name of package */ #undef PACKAGE /* Version number of package */ #undef VERSION