From: Paul Brossier Date: Sat, 23 Apr 2016 19:07:57 +0000 (+0200) Subject: examples/utils.h: hack a solution for access() on windows X-Git-Tag: 0.4.4~300^2~229 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=6144cef6cc2768277af463063bbc6e1ca5c161cd;p=aubio.git examples/utils.h: hack a solution for access() on windows --- diff --git a/examples/utils.h b/examples/utils.h index 901029cb..c9587dd9 100644 --- a/examples/utils.h +++ b/examples/utils.h @@ -30,6 +30,10 @@ #endif #ifdef HAVE_UNISTD_H #include // for access +#elif defined(HAVE_WIN_HACKS) +#include +#define access _access +#define F_OK 0 #endif #ifdef HAVE_MATH_H #include // for isfinite