Mercurial > octave
diff liboctave/file-ops.cc @ 4081:e5966ddef842
[project @ 2002-09-30 22:33:41 by jwe]
author | jwe |
---|---|
date | Mon, 30 Sep 2002 22:33:41 +0000 |
parents | 47d3baea432d |
children | 596f88296519 |
line wrap: on
line diff
--- a/liboctave/file-ops.cc Mon Sep 30 22:04:57 2002 +0000 +++ b/liboctave/file-ops.cc Mon Sep 30 22:33:41 2002 +0000 @@ -66,7 +66,12 @@ int status = -1; #if defined (HAVE_MKDIR) + +#if defined (MKDIR_TAKES_ONE_ARG) + status = ::mkdir (name.c_str ()); +#else status = ::mkdir (name.c_str (), mode); +#endif if (status < 0) {