Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 62 lines (58 sloc) 1.811 kb
a0d0e21 perl 5.000
Larry Wall authored
1 /* EXTERN.h
a687059 @TimToady perl 3.0: (no announcement message available)
TimToady authored
2 *
4bb101f @jhi Fix up Larry's copyright statements to my best knowledge.
jhi authored
3 * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999,
4 * 2000, 2001, by Larry Wall and others
a687059 @TimToady perl 3.0: (no announcement message available)
TimToady authored
5 *
132b68a perl 4.0 patch 4: (combined patch)
Larry Wall authored
6 * You may distribute under the terms of either the GNU General Public
7 * License or the Artistic License, as specified in the README file.
8d063cd a "replacement" for awk and sed
Larry Wall authored
8 *
9 */
10
4633a7c 5.002 beta 1
Larry Wall authored
11 /*
12 * EXT designates a global var which is defined in perl.h
13 * dEXT designates a global var which is defined in another
14 * file, so we can't count on finding it in perl.h
15 * (this practice should be avoided).
16 */
8d063cd a "replacement" for awk and sed
Larry Wall authored
17 #undef EXT
4633a7c 5.002 beta 1
Larry Wall authored
18 #undef dEXT
36477c2 [inseparable changes from patch from perl5.003_10 to perl5.003_11]
Perl 5 Porters authored
19 #undef EXTCONST
20 #undef dEXTCONST
4633a7c 5.002 beta 1
Larry Wall authored
21 #if defined(VMS) && !defined(__GNUC__)
17f28c4 Next wave of _63 VMS patches
Charles Bailey authored
22 /* Suppress portability warnings from DECC for VMS-specific extensions */
23 # ifdef __DECC
24 # pragma message disable (GLOBALEXT,NOSHAREEXT,READONLYEXT)
25 # endif
4633a7c 5.002 beta 1
Larry Wall authored
26 # define EXT globalref
27 # define dEXT globaldef {"$GLOBAL_RW_VARS"} noshare
36477c2 [inseparable changes from patch from perl5.003_10 to perl5.003_11]
Perl 5 Porters authored
28 # define EXTCONST globalref
29 # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly
4633a7c 5.002 beta 1
Larry Wall authored
30 #else
27da23d @jhi Symbian port of Perl
jhi authored
31 # if (defined(WIN32) || defined(__SYMBIAN32__)) && !defined(PERL_STATIC_SYMS)
32 # if defined(PERLDLL) || defined(__SYMBIAN32__)
3e3baf6 [differences between cumulative patch application and perl5.004_01]
Tim Bunce authored
33 # define EXT extern __declspec(dllexport)
5431012 [inseperable changes from patch from perl-5.003_95 to perl-5.003_86]
Perl 5 Porters authored
34 # define dEXT
3e3baf6 [differences between cumulative patch application and perl5.004_01]
Tim Bunce authored
35 # define EXTCONST extern __declspec(dllexport) const
5431012 [inseperable changes from patch from perl-5.003_95 to perl-5.003_86]
Perl 5 Porters authored
36 # define dEXTCONST const
37 # else
3e3baf6 [differences between cumulative patch application and perl5.004_01]
Tim Bunce authored
38 # define EXT extern __declspec(dllimport)
39 # define dEXT
40 # define EXTCONST extern __declspec(dllimport) const
41 # define dEXTCONST const
5431012 [inseperable changes from patch from perl-5.003_95 to perl-5.003_86]
Perl 5 Porters authored
42 # endif
43 # else
d308986 use builtin __CYGWIN__ rather than -DCYGWIN (from Eric Fifer
Gurusamy Sarathy authored
44 # if defined(__CYGWIN__) && defined(USEIMPORTLIB)
8736538 cygwin32 update (untested adaptation of patch against 5.005_03)
Alexander Smishlajev authored
45 # define EXT extern __declspec(dllimport)
46 # define dEXT
47 # define EXTCONST extern __declspec(dllimport) const
48 # define dEXTCONST const
49 # else
50 # define EXT extern
51 # define dEXT
52 # define EXTCONST extern const
53 # define dEXTCONST const
54 # endif
5431012 [inseperable changes from patch from perl-5.003_95 to perl-5.003_86]
Perl 5 Porters authored
55 # endif
4633a7c 5.002 beta 1
Larry Wall authored
56 #endif
8d063cd a "replacement" for awk and sed
Larry Wall authored
57
58 #undef INIT
59 #define INIT(x)
60
61 #undef DOINIT
Something went wrong with that request. Please try again.