override arc4* for tools build.
This commit is contained in:
parent
7a4cf709e4
commit
624dfe6a19
|
@ -3,12 +3,14 @@
|
||||||
|
|
||||||
#if HAVE_NBTOOL_CONFIG_H
|
#if HAVE_NBTOOL_CONFIG_H
|
||||||
#include "nbtool_config.h"
|
#include "nbtool_config.h"
|
||||||
#endif
|
#define arc4random random
|
||||||
|
#define arc4random_stir() srandom(time(NULL))
|
||||||
#undef PACKAGE_NAME
|
#undef PACKAGE_NAME
|
||||||
#undef PACKAGE_STRING
|
#undef PACKAGE_STRING
|
||||||
#undef PACKAGE_TARNAME
|
#undef PACKAGE_TARNAME
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
#undef PACKAGE_BUGREPORT
|
#undef PACKAGE_BUGREPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef RCSID
|
#ifndef RCSID
|
||||||
#define RCSID(msg) \
|
#define RCSID(msg) \
|
||||||
|
|
Loading…
Reference in New Issue