Re: [HACKERS] Antw: Re: patch for include/utils/datetime.h to target NetWare

2002-03-25 Thread Thomas Lockhart

 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

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

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



[HACKERS] Antw: Re: patch for include/utils/datetime.h to target NetWare

2002-03-24 Thread Ulrich Neumann

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[EMAIL PROTECTED] 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 



---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster