diff liboctave/file-ops.cc @ 10179:326746625a51

file-ops.cc cleanups
author John W. Eaton <jwe@octave.org>
date Thu, 21 Jan 2010 03:06:56 -0500
parents 6bd86b6287b1
children be952ce74023
line wrap: on
line diff
--- a/liboctave/file-ops.cc	Thu Jan 21 02:53:37 2010 -0500
+++ b/liboctave/file-ops.cc	Thu Jan 21 03:06:56 2010 -0500
@@ -37,11 +37,7 @@
 #include <sys/types.h>
 #endif
 
-#incluede <pathmax.h>
-
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
+#include <pathmax.h>
 
 #include "dir-ops.h"
 #include "file-ops.h"
@@ -91,9 +87,6 @@
   return retval;
 }
 
-#define NOT_SUPPORTED(nm) \
-  nm ": not supported on this system"
-
 // We provide a replacement for mkdir().
 
 int