Ticket #11053: patch-weekday.c
File patch-weekday.c, 448 bytes (added by tristan@…, 18 years ago) |
---|
Line | |
---|---|
1 | --- jpilot.c.orig 2006-06-09 16:42:57.000000000 -0400 |
2 | +++ jpilot.c 2006-11-19 21:11:19.000000000 -0500 |
3 | @@ -2180,7 +2180,7 @@ |
4 | |
5 | /* Extract first day of week preference from locale in GTK2 */ |
6 | # ifdef ENABLE_GTK2 |
7 | -# ifdef HAVE_LANGINFO_H |
8 | +# if defined(HAVE_LANGINFO_H) && defined(_NL_TIME_FIRST_WEEKDAY) |
9 | /* GTK 2.8 libraries */ |
10 | week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY); |
11 | pref_fdow = *((unsigned char *) week_start) - 1; |