X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/bc89e66f06f2a92e37ea7c110f66788fcfbe6847..781ecc3f4e65a5261736cf5fa8e56b6bea2ff71a:/x2p/INTERN.h diff --git a/x2p/INTERN.h b/x2p/INTERN.h index 2303ea3..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) 1991-2001, Larry Wall + * 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