aboutsummaryrefslogtreecommitdiffstats
path: root/stdtime
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-20 15:05:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-20 15:05:23 +0000
commit6f3437298447474d87b9d49f1af709e495ec8a24 (patch)
treeb6c2217fca41684499736b36f4a9028e358c6d3c /stdtime
parent81594d11452f0cf18f0db19570eb3ba824d38287 (diff)
Bug 7398 - Solaris puts its zoneinfo files in a nonstandard place
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@35121 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'stdtime')
-rw-r--r--stdtime/private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdtime/private.h b/stdtime/private.h
index 60479d787..8ef9ccfdd 100644
--- a/stdtime/private.h
+++ b/stdtime/private.h
@@ -20,7 +20,11 @@
#define HAVE_STRERROR 1
#define HAVE_UNISTD_H 1
#define LOCALE_HOME _PATH_LOCALE
+#ifdef SOLARIS
+#define TZDIR "/usr/share/lib/zoneinfo"
+#else
#define TZDIR "/usr/share/zoneinfo"
+#endif /* def SOLARIS */
#endif /* ndef TM_GMTOFF */
/*