From 4e8dbeb9345cbfd625fa7b1a6f8b4b5075d0794d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 5 Mar 2003 10:29:38 +0000 Subject: #undef mkdir to avoid link errors on i386-unknown-netbsdelf1.6 --- m4/getcwd-path-max.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4 index 302dbb060..c64fbe9e4 100644 --- a/m4/getcwd-path-max.m4 +++ b/m4/getcwd-path-max.m4 @@ -24,6 +24,9 @@ AC_DEFUN([GL_FUNC_GETCWD_PATH_MAX], #include #include +/* Don't get link errors because mkdir is redefined to rpl_mkdir. */ +#undef mkdir + #ifndef CHAR_BIT # define CHAR_BIT 8 #endif -- cgit v1.2.3-70-g09d2