[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC compiler support [patch 39]: include <direct.h>
From: |
Michael Goffioul |
Subject: |
MSVC compiler support [patch 39]: include <direct.h> |
Date: |
Tue, 17 Oct 2006 22:13:32 +0200 |
User-agent: |
Thunderbird 1.5.0.7 (Windows/20060909) |
Some code needs direct.h to be included
Index: liboctave/file-ops.cc
===================================================================
RCS file: /cvs/octave/liboctave/file-ops.cc,v
retrieving revision 1.41
diff -p -c -r1.41 file-ops.cc
*** liboctave/file-ops.cc 24 Apr 2006 19:13:07 -0000 1.41
--- liboctave/file-ops.cc 17 Oct 2006 11:07:41 -0000
*************** Software Foundation, Inc., 51 Franklin S
*** 51,56 ****
--- 51,60 ----
#include "statdefs.h"
#include "str-vec.h"
+ #if defined(HAVE_DIRECT_H)
+ #include <direct.h>
+ #endif
+
#define NOT_SUPPORTED(nm) \
nm ": not supported on this system"
Index: liboctave/lo-sysdep.cc
===================================================================
RCS file: /cvs/octave/liboctave/lo-sysdep.cc,v
retrieving revision 1.8
diff -p -c -r1.8 lo-sysdep.cc
*** liboctave/lo-sysdep.cc 30 Jun 2006 18:19:42 -0000 1.8
--- liboctave/lo-sysdep.cc 17 Oct 2006 11:07:42 -0000
*************** Software Foundation, Inc., 51 Franklin S
*** 35,40 ****
--- 35,44 ----
#include <unistd.h>
#endif
+ #if defined(HAVE_DIRECT_H)
+ #include <direct.h>
+ #endif
+
#include "file-ops.h"
#include "lo-error.h"
#include "pathlen.h"
- MSVC compiler support [patch 36]: abs of long, (continued)
- MSVC compiler support [patch 37]: popen/pclose, Michael Goffioul, 2006/10/17
- 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 <=
- 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
- Message not available
- Message not available
- Re: MSVC compiler support [patch 39]: include <direct.h>, Michael Goffioul, 2006/10/21
- MSVC compiler support [patch 40]: win32lib, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 40]: win32lib, John W. Eaton, 2006/10/26
- MSVC compiler support [patch 41]: "== void" preprocessor directive, Michael Goffioul, 2006/10/17
- MSVC compiler support [patch 41]: "== void" preprocessor directive, John W. Eaton, 2006/10/25
RE: Re: Compiling octave with MSVC, michael . goffioul, 2006/10/23