No dirfd() support on Windows

This commit is contained in:
Asanka Herath
2009-08-26 12:54:01 -04:00
committed by Love Hornquist Astrand
parent 588d1e081f
commit 21775167c4

View File

@@ -113,7 +113,9 @@ dir_iter_start(hx509_context context,
free(d);
return errno;
}
#ifdef HAVE_DIRFD
rk_cloexec(dirfd(d->dir));
#endif
d->certs = NULL;
d->iter = NULL;