Skip to content

Commit 76254e0

Browse files
Fix build of test-gnc-date on systems without HAVE_STRUCT_TM_GMTOFF
1 parent 1e6b5a1 commit 76254e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libgnucash/engine/test/test-gnc-date.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ test_qof_scan_date (void)
11511151
time64 now = gnc_time(NULL);
11521152
gchar buff[MAX_DATE_LENGTH];
11531153
struct tm tm = { 0, 0, 0, 0, 0, 0, 0, 0, 0
1154-
#ifndef G_OS_WIN32
1154+
#ifdef HAVE_STRUCT_TM_GMTOFF
11551155
, 0, 0
11561156
#endif
11571157
};

0 commit comments

Comments
 (0)