summaryrefslogtreecommitdiff
path: root/src/utils/dllinit.c
diff options
context:
space:
mode:
authorPeter Eisentraut2000-09-29 13:53:35 +0000
committerPeter Eisentraut2000-09-29 13:53:35 +0000
commit2a7da3f5648684df07126e94a96dc5bb82a9ba65 (patch)
tree7f928ae93779f7aa57979e448be95f792d8037cb /src/utils/dllinit.c
parent30826ce8e3a95c846393a65826a774f0ba8dccb4 (diff)
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.
Diffstat (limited to 'src/utils/dllinit.c')
-rw-r--r--src/utils/dllinit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utils/dllinit.c b/src/utils/dllinit.c
index 3e8fb861a0e..06fbdccc825 100644
--- a/src/utils/dllinit.c
+++ b/src/utils/dllinit.c
@@ -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;