summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Kew <jfkthame@googlemail.com>2008-03-15 09:47:09 +0000
committerJonathan Kew <jfkthame@googlemail.com>2008-03-15 09:47:09 +0000
commit1e8fa10066d82d5e8fd7c96e1b58f978d8536b31 (patch)
treecb8554cdf125ce4e6327c22b16fd3497e5d9b6c4
parent529261de318669da0cf67541abd8fa9bdacbe6ea (diff)
TZZONEINFO patch, from ICU trunk, part of changeset 23479
git-svn-id: svn://tug.org/texlive/trunk@6973 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/libs/icu-xetex/common/putil.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/libs/icu-xetex/common/putil.c b/Build/source/libs/icu-xetex/common/putil.c
index 6cdcfcfcbe7..825aa575e55 100644
--- a/Build/source/libs/icu-xetex/common/putil.c
+++ b/Build/source/libs/icu-xetex/common/putil.c
@@ -576,12 +576,12 @@ extern U_IMPORT char *U_TZNAME[];
#if !UCONFIG_NO_FILE_IO && (defined(U_DARWIN) || defined(U_LINUX) || defined(U_BSD))
/* These platforms are likely to use Olson timezone IDs. */
#define CHECK_LOCALTIME_LINK 1
-#if defined(U_LINUX)
-#define TZDEFAULT "/etc/localtime"
-#define TZZONEINFO "/usr/share/zoneinfo/"
-#else
+#if defined(U_DARWIN)
#include <tzfile.h>
#define TZZONEINFO (TZDIR "/")
+#else
+#define TZDEFAULT "/etc/localtime"
+#define TZZONEINFO "/usr/share/zoneinfo/"
#endif
static char gTimeZoneBuffer[PATH_MAX];
static char *gTimeZoneBufferPtr = NULL;