aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
authorMumit Khan <khan@xraylith.wisc.edu>1999-04-15 01:50:52 +0000
committerJeff Law <law@gcc.gnu.org>1999-04-14 19:50:52 -0600
commit75923b2fc5c3dad018c2e5a85c332914938f7535 (patch)
tree7f0a22d8749b525a937122060c414a1524b8fb9c /gcc/system.h
parent7c802a406f2c6871310dd5590ba99c2583d7c12a (diff)
downloadgcc-75923b2fc5c3dad018c2e5a85c332914938f7535.zip
gcc-75923b2fc5c3dad018c2e5a85c332914938f7535.tar.gz
gcc-75923b2fc5c3dad018c2e5a85c332914938f7535.tar.bz2
aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
* aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define. * configure.in: Use. * configure: Rebuilt. * acconfig.h (MKDIR_TAKES_ONE_ARG): Add. * config.in: Rebuilt. * system.h: Use. From-SVN: r26469
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 9ff3773..cdd2bac 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -488,6 +488,11 @@ extern void abort ();
# define STDERR_FILENO 2
#endif
+/* Some systems have mkdir that takes a single argument. */
+#ifdef MKDIR_TAKES_ONE_ARG
+# define mkdir(a,b) mkdir(a)
+#endif
+
/* Get libiberty declarations. */
#include "libiberty.h"