X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=INTERN.h;h=d89d2e68a443dd4f1d7b0bf9913ca3602c778a58;hb=a4f3eea9be6bcf3c1a2f99ac49d0585bf5fe8789;hp=7a9d475fa3c27142fdde93000b2ad9070b628bb5;hpb=a0d0e21ea6ea90a22318550944fe6cb09ae10cda;p=p5sagit%2Fp5-mst-13.2.git diff --git a/INTERN.h b/INTERN.h index 7a9d475..d89d2e6 100644 --- a/INTERN.h +++ b/INTERN.h @@ -7,8 +7,21 @@ * */ +/* + * EXT designates a global var which is defined in perl.h + * dEXT designates a global var which is defined in another + * file, so we can't count on finding it in perl.h + * (this practice should be avoided). + */ #undef EXT -#define EXT +#undef dEXT +#if defined(VMS) && !defined(__GNUC__) +# define EXT globaldef {"$GLOBAL_RW_VARS"} noshare +# define dEXT globaldef {"$GLOBAL_RW_VARS"} noshare +#else +# define EXT +# define dEXT +#endif #undef INIT #define INIT(x) = x