mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
For application to HEAD, following community review.
* Changes incorrect CYGWIN defines to __CYGWIN__ * Some localtime returns NULL checks (when unchecked cause SEGVs under Win32 regression tests) * Rationalized CreateSharedMemoryAndSemaphores and AttachSharedMemoryAndSemaphores (Bruce, I finally remembered to do it); requires attention. Claudio Natoli
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
#ifdef CYGWIN
|
||||
#ifdef __CYGWIN__
|
||||
#include <cygwin/version.h>
|
||||
#endif
|
||||
#if CYGWIN_VERSION_DLL_MAJOR < 1001
|
||||
@ -88,7 +88,9 @@ DllMain(
|
||||
__hDllInstance_base = hInst;
|
||||
#endif /* __CYGWIN__ */
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
_impure_ptr = __imp_reent_data;
|
||||
#endif
|
||||
|
||||
switch (reason)
|
||||
{
|
||||
|
Reference in New Issue
Block a user