mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
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.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user