This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
regcomp.c: Collapse two identical cases in a switch
[perl5.git]
/
x2p
/
EXTERN.h
diff --git
a/x2p/EXTERN.h
b/x2p/EXTERN.h
index
80fffb4
..
dcc1b24
100644
(file)
--- 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-2001, Larry Wall
+ * 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.
*
* 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
*/
#undef EXT
#define EXT extern
+#ifdef __cplusplus
+# define EXTERN_C extern "C"
+#else
+# define EXTERN_C extern
+#endif
+
#undef INIT
#define INIT(x)
#undef INIT
#define INIT(x)