summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-01-26 09:28:37 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-01-26 09:28:37 +0000
commitdfdd1393a5b8826d427524003a858b7556c66371 (patch)
treeb09633b780c9c99d18cb75a3d1fd776008cad471 /win32/win32.h
parent5812d790acd59b98b5e3e7519f0367585106cb30 (diff)
downloadperl-dfdd1393a5b8826d427524003a858b7556c66371.tar.gz
tweak exports list on Windows
p4raw-id: //depot/perl@4902
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 066ed720d4..69a4caf063 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -232,7 +232,7 @@ typedef long gid_t;
/* compatibility stuff for other compilers goes here */
-#if !defined(PERL_OBJECT) && defined(PERL_MEMBER_PTR_SIZE)
+#if !defined(PERL_OBJECT) && defined(PERL_CAPI) && defined(PERL_MEMBER_PTR_SIZE)
# define STRUCT_MGVTBL_DEFINITION \
struct mgvtbl { \
union { \
@@ -268,7 +268,7 @@ struct mgvtbl { \
U8 op_flags; \
U8 op_private;
-#endif /* !PERL_OBJECT && PERL_MEMBER_PTR_SIZE */
+#endif /* !PERL_OBJECT && PERL_CAPI && PERL_MEMBER_PTR_SIZE */
START_EXTERN_C