From 2140659b00af2e6e392c859cfc392c68d0fe0a10 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Mon, 22 Dec 2008 14:05:42 +0000 Subject: Incidentally http://cvs.openssl.org/chngview?cn=17710 also made it possible to build the library without -D_CRT_NONSTDC_NO_DEPRECATE. This commit expands it even to apps catalog and actually omits the macro in question from Configure. --- apps/ca.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/ca.c') diff --git a/apps/ca.c b/apps/ca.c index 13217a60b6..cb7bd3552b 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -852,7 +852,11 @@ bad: that to access(). However, time's too short to do that just now. */ +#ifndef _WIN32 if (access(outdir,R_OK|W_OK|X_OK) != 0) +#else + if (_access(outdir,R_OK|W_OK|X_OK) != 0) +#endif { BIO_printf(bio_err,"I am unable to access the %s directory\n",outdir); perror(outdir); -- cgit v1.2.3