X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=EXTERN.h;h=fe8a0eed3f9daad2dc142c9007fcdddf3f3795ec;hb=96a925ab0077cdd24bd7d328f20be3d5373d4885;hp=1aa89e69da1863ba0fda129775c16eb852a48f9f;hpb=8736538c3cff6585c95a01b990d3b3a9e5d5744d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/EXTERN.h b/EXTERN.h index 1aa89e6..fe8a0ee 100644 --- a/EXTERN.h +++ b/EXTERN.h @@ -1,6 +1,7 @@ /* EXTERN.h * - * Copyright (c) 1991-1999, Larry Wall + * Copyright (C) 1991, 1992, 1993, 1995, 1996, 1997, 1998, 1999, + * 2000, 2001, 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. @@ -27,7 +28,7 @@ # define EXTCONST globalref # define dEXTCONST globaldef {"$GLOBAL_RO_VARS"} readonly #else -# if defined(WIN32) && !defined(PERL_STATIC_SYMS) && !defined(__GNUC__) && !defined(PERL_OBJECT) +# if defined(WIN32) && !defined(PERL_STATIC_SYMS) # ifdef PERLDLL # define EXT extern __declspec(dllexport) # define dEXT @@ -40,7 +41,7 @@ # define dEXTCONST const # endif # else -# if defined(CYGWIN32) && defined(USEIMPORTLIB) +# if defined(__CYGWIN__) && defined(USEIMPORTLIB) # define EXT extern __declspec(dllimport) # define dEXT # define EXTCONST extern __declspec(dllimport) const