b23770728f
PR: 103203 Submitted by: maintainer
11 lines
426 B
Text
11 lines
426 B
Text
--- jpilot.c.orig Fri Jun 9 23:42:57 2006
|
|
+++ jpilot.c Tue Sep 12 18:51:49 2006
|
|
@@ -2180,7 +2180,7 @@
|
|
|
|
/* Extract first day of week preference from locale in GTK2 */
|
|
# ifdef ENABLE_GTK2
|
|
-# ifdef HAVE_LANGINFO_H
|
|
+# if defined(HAVE_LANGINFO_H) && defined(_NL_TIME_FIRST_WEEKDAY)
|
|
/* GTK 2.8 libraries */
|
|
week_start = nl_langinfo (_NL_TIME_FIRST_WEEKDAY);
|
|
pref_fdow = *((unsigned char *) week_start) - 1;
|