r22603 - gnucash/trunk/src/libqof/qof - Fix gnc-date and test-gnc-date to pass with MinGW

John Ralls jralls at code.gnucash.org
Sat Dec 1 17:42:01 EST 2012


Author: jralls
Date: 2012-12-01 17:42:00 -0500 (Sat, 01 Dec 2012)
New Revision: 22603
Trac: http://svn.gnucash.org/trac/changeset/22603

Modified:
   gnucash/trunk/src/libqof/qof/gnc-date.c
   gnucash/trunk/src/libqof/qof/gnc-date.h
   gnucash/trunk/src/libqof/qof/test/test-gnc-date.c
   gnucash/trunk/src/libqof/qof/test/test-qof.c
Log:
Fix gnc-date and test-gnc-date to pass with MinGW

Special-case MSWin results.

Create a private struct of function pointers so that we can continue to
use the Win32 workaround functions in test-gnc-date.c while we refactor
gnc-date.c to use GDateTime instead of gmtime, localtime, and mktime.



More information about the gnucash-patches mailing list