diff options
author | Bruce Momjian | 2004-04-30 14:24:14 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-04-30 14:24:14 +0000 |
commit | a640845c881fe2ee0798187825a24cbb90c44f19 (patch) | |
tree | b88d105ec2b7ea00a9f4259ec657909f278bd520 /src/timezone/private.h | |
parent | e9a028f81f10a63b340696fc34c4dac9849a8f43 (diff) |
Allow timezone to compile under Unix by blocking 'timezone' conflict with
system headers.
Allow system to find timezone database by pasing pkglibdir into the
binary via a define.
Diffstat (limited to 'src/timezone/private.h')
-rw-r--r-- | src/timezone/private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timezone/private.h b/src/timezone/private.h index c8f45486837..4c94b2d21e5 100644 --- a/src/timezone/private.h +++ b/src/timezone/private.h @@ -88,7 +88,11 @@ static char privatehid[] = "@(#)private.h 7.53"; #include "errno.h" #include "string.h" #include "limits.h" /* for CHAR_BIT */ +#define _timezone timezone +#undef timezone #include "time.h" +#define timezone _timezone +#undef _timezone #include "stdlib.h" #if HAVE_GETTEXT - 0 |