summaryrefslogtreecommitdiff
path: root/ptr_chck.c
diff options
context:
space:
mode:
Diffstat (limited to 'ptr_chck.c')
-rw-r--r--ptr_chck.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ptr_chck.c b/ptr_chck.c
index 6195ac86..9b0da0c1 100644
--- a/ptr_chck.c
+++ b/ptr_chck.c
@@ -205,11 +205,11 @@ GC_API void * GC_CALL GC_is_visible(void *p)
if (hhdr == 0) {
if (GC_is_static_root(p)) return(p);
/* Else do it again correctly: */
-# if (defined(DYNAMIC_LOADING) || defined(MSWIN32) || \
- defined(MSWINCE) || defined(PCR))
- GC_register_dynamic_libraries();
- if (GC_is_static_root(p))
- return(p);
+# if defined(DYNAMIC_LOADING) || defined(MSWIN32) \
+ || defined(MSWINCE) || defined(CYGWIN32) || defined(PCR)
+ GC_register_dynamic_libraries();
+ if (GC_is_static_root(p))
+ return(p);
# endif
goto fail;
} else {