[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
missing "#include "sysdir.h" ?? [was Re: rpl_close in load-save.cc (MinG
From: |
John W. Eaton |
Subject: |
missing "#include "sysdir.h" ?? [was Re: rpl_close in load-save.cc (MinGW build development source) |
Date: |
Thu, 4 Mar 2010 01:00:14 -0500 |
On 4-Mar-2010, Tatsuro MATSUOKA wrote:
| Therefore I add to
|
| #include "oct-hdf5.h"
| #include "sysdir.h" <==add
|
| // Remove gnulib definitions, if any.<==add
| #ifdef close <==add
| #undef close <==add
| #endif <==add
| #ifdef open <==add
| #undef open <==add
| #endif <==add
|
| The compile errors are disappeared.
Yes, this is a possible way to work around the problem. But we plan
to fix this in a better way. See the thread:
http://lists.gnu.org/archive/html/bug-gnulib/2010-02/msg00171.html
I would like to see the changes proposed in that thread checked in to
gnulib soon. If not, then we will have to use a modified version of
gnulib until they are.
jwe