override arc4* for tools build.

This commit is contained in:
christos 2017-01-29 01:46:16 +00:00
parent 7a4cf709e4
commit 624dfe6a19
1 changed files with 3 additions and 1 deletions

View File

@ -3,12 +3,14 @@
#if HAVE_NBTOOL_CONFIG_H
#include "nbtool_config.h"
#endif
#define arc4random random
#define arc4random_stir() srandom(time(NULL))
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#undef PACKAGE_BUGREPORT
#endif
#ifndef RCSID
#define RCSID(msg) \