projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
586383d
)
[tests] [win] include io.h for _access()
author
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 14:10:29 +0000
(15:10 +0100)
committer
Paul Brossier
<piem@piem.org>
Thu, 29 Nov 2018 14:10:29 +0000
(15:10 +0100)
tests/utils_tests.h
patch
|
blob
|
history
diff --git
a/tests/utils_tests.h
b/tests/utils_tests.h
index
e272c2a
..
7915325
100644
(file)
--- a/
tests/utils_tests.h
+++ b/
tests/utils_tests.h
@@
-20,6
+20,10
@@
#define PATH_MAX 1024
#endif
+#if defined(HAVE_WIN_HACKS) && !defined(__GNUC__)
+#include <io.h> // _access
+#endif
+
// This macro is used to pass a string to msvc compiler: since msvc's -D flag
// strips the quotes, we define the string without quotes and re-add them with
// this macro.