[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 37]: popen/pclose
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 37]: popen/pclose |
Date: |
Tue, 17 Oct 2006 22:12:32 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
popen and pclose are underscored under Win32
Index: src/oct-prcstrm.cc
===================================================================
RCS file: /cvs/octave/src/oct-prcstrm.cc,v
retrieving revision 1.14
diff -p -c -r1.14 oct-prcstrm.cc
*** src/oct-prcstrm.cc 26 Apr 2005 19:24:33 -0000 1.14
--- src/oct-prcstrm.cc 17 Oct 2006 11:07:42 -0000
*************** Software Foundation, Inc., 51 Franklin S
*** 29,34 ****
--- 29,39 ----
#include "oct-prcstrm.h"
+ #ifdef _MSC_VER
+ #define popen _popen
+ #define pclose _pclose
+ #endif
+
static int
cxx_pclose (FILE *f)
{
- MSVC compiler support [patch 33]: Help, (continued)
- MSVC compiler support [patch 34]: sepchar and load_path, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 34]: sepchar and load_path, John W. Eaton, 2006/10/27
- MSVC compiler support [patch 35]: default history file, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 35]: default history file, John W. Eaton, 2006/10/25
- Re: MSVC compiler support [patch 35]: default history file, Michael Goffioul, 2006/10/26
- MSVC compiler support [patch 36]: abs of long, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 36]: abs of long, John W. Eaton, 2006/10/27
- Re: MSVC compiler support [patch 36]: abs of long, Michael Goffioul, 2006/10/28
- MSVC compiler support [patch 37]: popen/pclose,
Michael Goffioul <=
- MSVC compiler support [patch 37]: popen/pclose, John W. Eaton, 2006/10/25
- Re: MSVC compiler support [patch 37]: popen/pclose, Michael Goffioul, 2006/10/26
- Re: MSVC compiler support [patch 37]: popen/pclose, Paul Kienzle, 2006/10/26
- Re: MSVC compiler support [patch 37]: popen/pclose, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 38]: include <algorithm>, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 38]: include <algorithm>, John W. Eaton, 2006/10/17
- MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 39]: include <direct.h>, John W. Eaton, 2006/10/17
- Re: MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/18
- Re: MSVC compiler support [patch 39]: include <direct.h>, John W. Eaton, 2006/10/20