From be4da91955d96196cf5bca31156c25692e94a62d Mon Sep 17 00:00:00 2001 From: Alexey Tarasov Date: Tue, 1 Sep 2009 02:23:17 +1100 Subject: Allowed building on FreeBSD same timezone related code as for Linux. --- android/utils/timezone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'android/utils') diff --git a/android/utils/timezone.c b/android/utils/timezone.c index b5588a3..f4b78db 100644 --- a/android/utils/timezone.c +++ b/android/utils/timezone.c @@ -96,7 +96,7 @@ bufprint_zoneinfo_timezone( char* p, char* end ) /* on OS X, the timezone directory is always /usr/share/zoneinfo * this makes things easy. */ -#ifdef __APPLE__ +#if defined(__APPLE__) #include #include @@ -149,7 +149,7 @@ get_zoneinfo_timezone( void ) * the original timezone file. the only way to know which zoneinfo name to retrieve is to compare * it with all files in $TZDIR (at least those that match Area/Location or Area/Location/SubLocation */ -#ifdef __linux__ +#if defined(__linux__) || defined (__FreeBSD__) #include #include -- cgit v1.1