summaryrefslogtreecommitdiff
path: root/XSUB.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-02-06 19:28:31 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-02-06 19:28:31 +0000
commitd308986b5b369caa1602a636a5e2ecfa149dfc89 (patch)
tree5e4539c17b4ffa8bb9cd7da74aa918d3204193f0 /XSUB.h
parent66fbe9e21b14c795ac9035c7be86e21c370a7532 (diff)
downloadperl-d308986b5b369caa1602a636a5e2ecfa149dfc89.tar.gz
use builtin __CYGWIN__ rather than -DCYGWIN (from Eric Fifer
<EFifer@sanwaint.com>) p4raw-id: //depot/perl@5008
Diffstat (limited to 'XSUB.h')
-rw-r--r--XSUB.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/XSUB.h b/XSUB.h
index 7e1c28c60c..cfcad5d595 100644
--- a/XSUB.h
+++ b/XSUB.h
@@ -47,7 +47,7 @@ handled automatically by C<xsubpp>.
#define ST(off) PL_stack_base[ax + (off)]
-#if defined(CYGWIN) && defined(USE_DYNAMIC_LOADING)
+#if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
# define XS(name) __declspec(dllexport) void name(pTHXo_ CV* cv)
#else
# define XS(name) void name(pTHXo_ CV* cv)