Refactor EGD conditional support
As per Jeremy's request in #124 Windows does not define HAVE_RAND_EGD resulting in the same conditional support for EGD.
This commit is contained in:
@@ -79,7 +79,6 @@ while(<>) {
|
||||
if ("$(DIR_hdbdir)") { print "#define HDB_DB_DIR \"".'$(DIR_hdbdir)'."\"\n"; }
|
||||
if ("$(HAVE_MSLSA_CACHE)") { print "#define HAVE_MSLSA_CACHE 1\n"; }
|
||||
if ("$(NO_LOCALNAME)") { print "#define NO_LOCALNAME 1\n"; }
|
||||
if ("$(NO_RAND_EGD_METHOD)") { print "#define NO_RAND_EGD_METHOD 1\n"; }
|
||||
|
||||
} elsif (m/\@VERSION_OPTDEFS\@/) {
|
||||
|
||||
|
@@ -1363,9 +1363,6 @@ static const char *const rcsid[] = { (const char *)rcsid, "@(#)" msg }
|
||||
/* Define if you don't want to use mmap. */
|
||||
#define NO_MMAP 1
|
||||
|
||||
/* Define if EGD rand method is not defined */
|
||||
#define NO_RAND_EGD_METHOD 1
|
||||
|
||||
/* Define if the Unix rand method is not defined */
|
||||
#define NO_RAND_UNIX_METHOD 1
|
||||
|
||||
|
Reference in New Issue
Block a user