3 * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999,
4 * 2000, 2001, by Larry Wall and others
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.
12 * EXT: designates a global var which is defined in perl.h
14 * dEXT: designates a global var which is defined in another
15 * file, so we can't count on finding it in perl.h
16 * (this practice should be avoided).
23 # if defined(WIN32) && !defined(PERL_STATIC_SYMS)
24 /* miniperl should not export anything */
25 # if defined(PERL_IS_MINIPERL)
28 # define EXTCONST extern const
29 # define dEXTCONST const
30 # elif defined(PERLDLL)
31 # define EXT EXTERN_C __declspec(dllexport)
33 # define EXTCONST EXTERN_C __declspec(dllexport) const
34 # define dEXTCONST const
36 # define EXT EXTERN_C __declspec(dllimport)
38 # define EXTCONST EXTERN_C __declspec(dllimport) const
39 # define dEXTCONST const
42 # if defined(__CYGWIN__) && defined(USEIMPORTLIB)
43 # define EXT extern __declspec(dllimport)
45 # define EXTCONST extern __declspec(dllimport) const
46 # define dEXTCONST const
50 # define EXTCONST extern const
51 # define dEXTCONST const