[GiNaC-devel] excompiler.cpp: unistd.h

Richard B. Kreckel kreckel at in.terlu.de
Sat Nov 5 23:48:20 CET 2016


Hi Jan,

On 11/04/2016 07:56 PM, Jan Rheinländer wrote:
>>> it's defined in <corecrt_io.h> which in turn is included by <io.h>
>> Interesting. And which header includes <io.h>? (I'm sure you don't mean
>> <cln/io.h>.)
> I can't really find anything. Maybe autoconf does some magic? Because in
> libtool and ltmain.sh it says:
> 
> #ifdef _MSC_VER
> # include <direct.h>
> # include <process.h>
> # include <io.h>
> #else
> # include <unistd.h>
> # include <stdint.h>
> # ifdef __CYGWIN__
> #  include <io.h>
> # endif
> #endif

I see. And thanks for your patience.
Does the attached patch work, then?

  -richy.
-- 
Richard B. Kreckel
<http://in.terlu.de/~kreckel/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Be-more-careful-including-unistd.h.patch
Type: text/x-diff
Size: 1553 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20161105/db3a1247/attachment.bin>


More information about the GiNaC-devel mailing list