Antw: Re: patch for include/utils/datetime.h to target NetWare - Mailing list pgsql-hackers

From Ulrich Neumann
Subject Antw: Re: patch for include/utils/datetime.h to target NetWare
Date
Msg-id a7mcg4$1thi$1@jupiter.hub.org
Whole thread Raw
In response to Re: patch for include/utils/datetime.h to target NetWare  (Thomas Lockhart <lockhart@fourpalms.org>)
List pgsql-hackers
Hi Thomas,

thanks for your response.
Your assumption is correct. All I need is what you described:
#ifdef __CYGWIN__
to
#if defined(__CYGWIN__) || defined(N_PLAT_NLM)

Sorry that the patchfile didn't include the context. I will make sure that this
doesn't happen any more.

Ulrich Neumann
Novell Worldwide Developer Support.


>>> Thomas Lockhart<lockhart@fourpalms.org> 24.03.2002 17:53:50 >>>
> I would be happy if it is possible to apply this patch to include/utils/datetime.h
> to target NetWare.
> On NetWare TIMEZONE_GLOBAL is _timezone.

Without a context diff, it is not entirely clear to me what *exactly*
the patch is doing since I'm working with an already-patched datetime.h. 

However, if you need TIMEZONE_GLOBAL defined as "_timezone" for netware
(as it is already defined for cygwin), then couldn't the patch simply
change
 #ifdef __CYGWIN__

to
 #if defined(__CYGWIN__) || defined(N_PLAT_NLM)

leaving everything else the same? Let me know and I'll go ahead and
patch it (unless of course, others on netware see a problem)...
                      - Thomas

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html 




pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: SET NULL / SET NOT NULL
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Re: SET NULL / SET NOT NULL