vincent_trunk build error in windows: GStatBuf statbuf;

From: vincent.abiword <vincent.abiword_at_gmail.com>
Date: Sun Mar 04 2012 - 16:36:25 CET

Hi,
I built abiword in Windows VS2008 after checking the newest code in Abiword trunk and encountered some errors. please help to have a check. thanks

Env: Windows XP
     Visual Studio 2008

Code: src\af\util\xp\ut_go_file.cpp

#if GLIB_CHECK_VERSION(2,26,0) || defined(G_OS_WIN32)
                                        GStatBuf statbuf;
#else
                                        struct stat statbuf;
#endif


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


Correct me if I have something wrong. thanks

I attach my patch


--------------
vincent.abiword

Received on Sun Mar 4 16:36:37 2012

This archive was generated by hypermail 2.1.8 : Sun Mar 04 2012 - 16:36:37 CET