summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorIlya Zakharevich <ilya@math.berkeley.edu>1998-07-26 17:03:03 -0400
committerGurusamy Sarathy <gsar@cpan.org>1998-08-02 06:22:15 +0000
commitaab1f907125f90712decb35f2a57d7c7c35d30a2 (patch)
treeb74db24075b25ca267853b404b0b314aebf32b12 /proto.h
parent8b73bbec3102cdf25a35c954eb1aab85acc07808 (diff)
downloadperl-aab1f907125f90712decb35f2a57d7c7c35d30a2.tar.gz
mark link type of exported functions for OS/2
Message-Id: <199807270103.VAA04977@monk.mps.ohio-state.edu> Subject: Re: Compiler linkage's types [PATCH 5.005] p4raw-id: //depot/maint-5.005/perl@1702
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index 5da657b04c..1b9867552d 100644
--- a/proto.h
+++ b/proto.h
@@ -1,7 +1,11 @@
+#ifndef PERL_CALLCONV
+# define PERL_CALLCONV
+#endif
+
#ifdef PERL_OBJECT
-#define VIRTUAL virtual
+#define VIRTUAL virtual PERL_CALLCONV
#else
-#define VIRTUAL
+#define VIRTUAL PERL_CALLCONV
START_EXTERN_C
#endif