X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2FINTERN.h;h=29332945d83e71d3df1158468232a1fe89b301bd;hb=f3365a56c42f2f31eed84ad55632f9786ee09044;hp=d1dcd06fb9457c993d0b43a263f70cb912306d27;hpb=4bb101f2758f169969171dfe6b70f68a406dcc1e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/INTERN.h b/x2p/INTERN.h index d1dcd06..2933294 100644 --- a/x2p/INTERN.h +++ b/x2p/INTERN.h @@ -1,16 +1,22 @@ -/* $RCSfile: INTERN.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:06 $ +/* INTERN.h * * Copyright (C) 1993, 1994, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. - * - * $Log: INTERN.h,v $ */ #undef EXT #define EXT +#ifdef __cplusplus +# define EXTERN_C extern "C" +#else +# ifndef EXTERN_C +# define EXTERN_C +# endif +#endif + #undef INIT #define INIT(x) = x