diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-12-24 02:24:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-12-24 02:24:59 +0000 |
commit | 26618a56da4122343158bd70acec552d2e6da993 (patch) | |
tree | 4ba150d7472de986d3f220242c66b8153be08144 /perl.h | |
parent | 473986ffed3c1c49ad493ce37648d9ef116e65bb (diff) | |
download | perl-26618a56da4122343158bd70acec552d2e6da993.tar.gz |
[win32] add support for crypt() via user-supplied des_fcrypt() source or library.
Update README.win32.
p4raw-id: //depot/win32/perl@385
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 18 |
1 files changed, 10 insertions, 8 deletions
@@ -1299,19 +1299,21 @@ END_EXTERN_C #endif #ifndef __cplusplus -#ifdef __NeXT__ /* or whatever catches all NeXTs */ +# ifdef __NeXT__ /* or whatever catches all NeXTs */ char *crypt (); /* Maybe more hosts will need the unprototyped version */ -#else +# else +# if !defined(WIN32) || !defined(HAVE_DES_FCRYPT) char *crypt _((const char*, const char*)); -#endif -#ifndef DONT_DECLARE_STD -#ifndef getenv +# endif /* !WIN32 && !HAVE_CRYPT_SOURCE */ +# endif /* !__NeXT__ */ +# ifndef DONT_DECLARE_STD +# ifndef getenv char *getenv _((const char*)); -#endif +# endif /* !getenv */ Off_t lseek _((int,Off_t,int)); -#endif +# endif /* !DONT_DECLARE_STD */ char *getlogin _((void)); -#endif +#endif /* !__cplusplus */ #ifdef UNLINK_ALL_VERSIONS /* Currently only makes sense for VMS */ #define UNLINK unlnk |