From 0dcddc2da97e3856539d4b79f1b979b58d6c9f9e Mon Sep 17 00:00:00 2001 From: Kevin Ryde Date: Sat, 21 Feb 2004 21:23:11 +0000 Subject: [PATCH] (scm_crypt): Use new HAVE_CRYPT. (): Remove HAVE_LIBCRYPT condition. Reported by Andreas Voegele. --- libguile/posix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libguile/posix.c b/libguile/posix.c index 15800d95e..567d0203b 100644 --- a/libguile/posix.c +++ b/libguile/posix.c @@ -147,7 +147,7 @@ extern char ** environ; #include #endif -#if HAVE_LIBCRYPT && HAVE_CRYPT_H +#if HAVE_CRYPT_H # include #endif @@ -1343,7 +1343,7 @@ SCM_DEFINE (scm_sync, "sync", 0, 0, 0, #undef FUNC_NAME #endif /* HAVE_SYNC */ -#if HAVE_LIBCRYPT && HAVE_CRYPT_H +#if HAVE_CRYPT SCM_DEFINE (scm_crypt, "crypt", 2, 0, 0, (SCM key, SCM salt), "Encrypt @var{key} using @var{salt} as the salt value to the\n" @@ -1361,7 +1361,7 @@ SCM_DEFINE (scm_crypt, "crypt", 2, 0, 0, return scm_makfrom0str (p); } #undef FUNC_NAME -#endif /* HAVE_LIBCRYPT && HAVE_CRYPT_H */ +#endif /* HAVE_CRYPT */ #if HAVE_CHROOT SCM_DEFINE (scm_chroot, "chroot", 1, 0, 0,