X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=x2p%2FEXTERN.h;h=dcc1b243959622509c2e07740b7106c1c19ad614;hb=d9f30342f9de4793189d81b85a5e32057393e428;hp=59eb166ad06e3a768ef254ad06facfbc30336ba8;hpb=4bb101f2758f169969171dfe6b70f68a406dcc1e;p=p5sagit%2Fp5-mst-13.2.git diff --git a/x2p/EXTERN.h b/x2p/EXTERN.h index 59eb166..dcc1b24 100644 --- a/x2p/EXTERN.h +++ b/x2p/EXTERN.h @@ -1,16 +1,20 @@ -/* $RCSfile: EXTERN.h,v $$Revision: 4.1 $$Date: 92/08/07 18:29:05 $ +/* EXTERN.h * * Copyright (C) 1991, 1992, 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: EXTERN.h,v $ */ #undef EXT #define EXT extern +#ifdef __cplusplus +# define EXTERN_C extern "C" +#else +# define EXTERN_C extern +#endif + #undef INIT #define INIT(x)