aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorla-ninpre <leobrekalini@gmail.com>2021-09-10 14:06:29 +0000
committerla-ninpre <leobrekalini@gmail.com>2021-09-10 14:06:29 +0000
commit60d1b0c720c58dc08b070dd9d39d72f93a07b028 (patch)
tree0bad69bc7864d2aeb2f9d6c6ddc5cd369589b66a /main.c
parente6e5718516d6258696287e24c1303898510ff091 (diff)
downloadnimisewi_c-60d1b0c720c58dc08b070dd9d39d72f93a07b028.tar.gz
nimisewi_c-60d1b0c720c58dc08b070dd9d39d72f93a07b028.zip
added support for arc4random_uniform functionv0.3.0
i know that it's probably an overkill for such stupid little program, but why not :D also refactored strlcat support a bit, to make sure that strncat function is used if strlcat could not be found. FossilOrigin-Name: 1b72489c7f0f5b72bac65f1469c9bec650d7ffdabfa4f88409e15c630ac5a52d
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 04116fd..8c87c54 100644
--- a/main.c
+++ b/main.c
@@ -50,6 +50,9 @@ main(int argc, char *argv[])
#ifdef HAVE_STRLCAT
printf("HAVE_STRLCAT\n");
#endif
+#ifdef HAVE_ARC4RANDOM_UNIFORM
+ printf("HAVE_ARC4RANDOM_UNIFORM\n");
+#endif
return EXIT_SUCCESS;
}
}