aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/passgen.c b/passgen.c
index 5837a72..ce07d5a 100644
--- a/passgen.c
+++ b/passgen.c
@@ -7,6 +7,7 @@
#define VERSION "0.1.1"
+#ifndef NO_PLATFORM_CRYPT
#if defined (__linux__) \
|| defined (__APPLE__) \
|| defined (__FreeBSD__) \
@@ -16,6 +17,7 @@
|| defined(__CYGWIN__)
# define USE_WINCRYPT
#endif
+#endif
/* getentropy() vs rand()+time()+getpid() */