Re: vincent_trunk build error in windows: GStatBuf statbuf;

From: Hub Figuière <hfiguiere_at_teaser.fr>
Date: Mon Mar 05 2012 - 02:26:25 CET

On 04/03/12 05:15 PM, vincent vincent wrote:
>
> 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

This
#if GLIB_CHECK_VERSION(2,26,0) || defined(G_OS_WIN32)

means GLIB > 2.26 OR Windows.
(is it really 2.26?)

What you are removing is the part that deal with non Windows.

So...

Hub
Received on Mon Mar 5 02:26:34 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 02:26:34 CET