Skip to content

Commit

Permalink
cmake: fix getrandom() detection
Browse files Browse the repository at this point in the history
Fixes: 86f55b0 ("arc4random: replace sysctl() with getrandom (on linux)")
  • Loading branch information
azat committed Sep 3, 2019
1 parent 86f55b0 commit 194a5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event-config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
#define EVENT__HAVE_DECL_KERN_ARND @EVENT__HAVE_DECL_KERN_ARND@

/* Define to 1 if you have `getrandom' function. */
#define EVENT__HAVE_GETRANDOM @EVENT__HAVE_GETRANDOM@
#cmakedefine EVENT__HAVE_GETRANDOM 1

/* Define if /dev/poll is available */
#cmakedefine EVENT__HAVE_DEVPOLL 1
Expand Down

0 comments on commit 194a5d8

Please sign in to comment.