Re: vincent_trunk build error in windows: GStatBuf statbuf;

From: vincent vincent <vincent.abiword_at_gmail.com>
Date: Mon Mar 05 2012 - 02:15:59 CET

Hi Hub,

GStatBuf is undefined in all Windows. so I think we would be better to
remove 'defined(G_OS_WIN32)' in #if in the condition.

#if GLIB_CHECK_VERSION(2,26,0) // it is working well for all windows
                                       GStatBuf statbuf;
#else
                                       struct stat statbuf;
#endif

Correct me if I have something wrong. thanks

Vincent

2012/3/5 Hub Figuière <hfiguiere@teaser.fr>:
>
> On 04/03/12 07:36 AM, vincent.abiword wrote:
>> GStatBuf is undefined in all Windows. so I think we would be better to remove 'defined(G_OS_WIN32)' in #if in the condition.
>
> It is defined in Glib in glib/gstdio.h
> I don't see why this isn't working.
>
> Hub
Received on Mon Mar 5 02:16:09 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 02:16:09 CET