1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Standardize on __CYGWIN__ rather than __CYGWIN32__ macro. Doesn't matter

either way (although the former is preferred by the Cygwin folks
themselves), but using only one seems nicer.
This commit is contained in:
Peter Eisentraut
2000-09-29 13:53:35 +00:00
parent 30826ce8e3
commit 2a7da3f564
6 changed files with 17 additions and 17 deletions

View File

@ -43,14 +43,14 @@
BOOL APIENTRY DllMain(HINSTANCE hInst, DWORD reason,
LPVOID reserved /* Not used. */ );
#ifdef __CYGWIN32__
#ifdef __CYGWIN__
#include <cygwin/cygwin_dll.h>
DECLARE_CYGWIN_DLL(DllMain);
/* save hInstance from DllMain */
HINSTANCE __hDllInstance_base;
#endif /* __CYGWIN32__ */
#endif /* __CYGWIN__ */
struct _reent *_impure_ptr;
@ -80,9 +80,9 @@ DllMain(
LPVOID reserved /* Not used. */ )
{
#ifdef __CYGWIN32__
#ifdef __CYGWIN__
__hDllInstance_base = hInst;
#endif /* __CYGWIN32__ */
#endif /* __CYGWIN__ */
_impure_ptr = __imp_reent_data;