patch for include/utils/datetime.h to target NetWare

Started by Ulrich Neumannalmost 24 years ago4 messages
#1Ulrich Neumann
u_neumann@gne.de

Hello,

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.

best wishes.

Ulrich Neumann
Novell Worldwide Developer Support

begin 666 nw.diff
M,C`Y+#(Q,6,R,#D-"CP@(VEF9&5F(%]?0UE'5TE.7U\-"CP@(V1E9FEN92!4
M24U%6D].15]'3$]"04P@7W1I;65Z;VYE#0H\("-E;'-E#0HM+2T-"CX@(VEF
M("%D969I;F5D*%]?0UE'5TE.7U\I("8F("%D969I;F5D*$Y?4$Q!5%].3$TI
M#0HR,3)A,C$Q+#(Q,@T*/B`C96QS90T*/B`C9&5F:6YE(%1)345:3TY%7T=,
03T)!3"!?=&EM97IO;F4-"@``
`
end

#2Thomas Lockhart
lockhart@fourpalms.org
In reply to: Ulrich Neumann (#1)
Re: patch for include/utils/datetime.h to target NetWare

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

#3Ulrich Neumann
u_neumann@gne.de
In reply to: Thomas Lockhart (#2)
Antw: Re: patch for include/utils/datetime.h to target NetWare

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

#4Thomas Lockhart
thomas@fourpalms.org
In reply to: Thomas Lockhart (#2)
Re: Antw: Re: patch for include/utils/datetime.h to target NetWare

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

Great. I'll include that in a set of patches I'm working on.

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

No problem. Thanks for the patch!

- Thomas