This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
g++/x2p (better version)
[perl5.git] / x2p / INTERN.h
index bbb5462..471093f 100644 (file)
@@ -1,19 +1,20 @@
-/* $Header: INTERN.h,v 4.0 91/03/20 01:56:58 lwall Locked $
+/*    INTERN.h
  *
- *    Copyright (c) 1989, Larry Wall
+ *    Copyright (C) 1993, 1994, by Larry Wall and others
  *
- *    You may distribute under the terms of the GNU General Public License
- *    as specified in the README file that comes with the perl 3.0 kit.
- *
- * $Log:       INTERN.h,v $
- * Revision 4.0  91/03/20  01:56:58  lwall
- * 4.0 baseline.
- * 
+ *    You may distribute under the terms of either the GNU General Public
+ *    License or the Artistic License, as specified in the README file.
  */
 
 #undef EXT
 #define EXT
 
+#ifdef __cplusplus
+#  define EXTERN_C extern "C"
+#else
+#  define EXTERN_C
+#endif
+
 #undef INIT
 #define INIT(x) = x