diff liboctave/lo-sysdep.h @ 6321:363a2f8c9e97

[project @ 2007-02-16 20:26:23 by dbateman]
author dbateman
date Fri, 16 Feb 2007 20:27:46 +0000
parents 8d285942fc3c
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/lo-sysdep.h	Fri Feb 16 20:26:11 2007 +0000
+++ b/liboctave/lo-sysdep.h	Fri Feb 16 20:27:46 2007 +0000
@@ -27,6 +27,7 @@
 #include <string>
 
 #include "lo-ieee.h"
+class string_vector;
 
 extern std::string octave_getcwd (void);
 
@@ -36,7 +37,12 @@
 extern int gethostname (char *, int);
 #endif
 
-#if defined (_MSC_VER)
+#if defined (__WIN32__) && ! defined (__CYGWIN__)
+extern pid_t octave_popen2 (const std::string&, const string_vector&,
+    bool, int *, std::string&);
+#endif
+
+#if defined (_MSC_VER) && ! defined (HAVE_DIRENT_H)
 
 // FIXME -- it would probably be better to adapt the versions of
 // opendir, readdir, and closedir from Emacs as they appear to be more