Skip to content
Snippets Groups Projects
Commit 08597803 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

Fix POSIX_MEMALIGN ifdef in prng

parent c8246172
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,7 @@ double tls_rand()
}
/* Initialize PRNG state. */
#ifdef HAVE_MEMALIGN
#ifdef HAVE_POSIX_MEMALIGN
if (posix_memalign((void **)&s, 16, sizeof(dsfmt_t)) != 0) {
fprintf(stderr, "error: PRNG: not enough memory\n");
return .0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment