summaryrefslogtreecommitdiff
path: root/vms
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-02-16 22:00:14 +0000
committerNicholas Clark <nick@ccl4.org>2009-02-16 22:00:14 +0000
commitb79b76e09d4ebd270b9df34cc7e92494ba4df212 (patch)
tree5c287cfc217cbd98702de165d57b6997d9442b77 /vms
parente50b42d3b9d4d5466150b00299d8145beabd33df (diff)
downloadperl-b79b76e09d4ebd270b9df34cc7e92494ba4df212.tar.gz
PERL_FS_VER_FMT is only used with the current perl version, which is known at
compile time, so replace it with PERL_FS_VERSION, a compile time constant.
Diffstat (limited to 'vms')
-rw-r--r--vms/vmsish.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vms/vmsish.h b/vms/vmsish.h
index b70d42fce7..95ac23b403 100644
--- a/vms/vmsish.h
+++ b/vms/vmsish.h
@@ -418,7 +418,12 @@ struct interp_intern {
#define HAS_KILL
#define HAS_WAIT
-#define PERL_FS_VER_FMT "%d_%d_%d"
+#ifndef PERL_CORE
+# define PERL_FS_VER_FMT "%d_%d_%d"
+#endif
+#define PERL_FS_VERSION STRINGIFY(PERL_REVISION) "_" \
+ STRINGIFY(PERL_VERSION) "_" \
+ STRINGIFY(PERL_SUBVERSION)
/* Temporary; we need to add support for this to Configure.Com */
#ifdef PERL_INC_VERSION_LIST
# undef PERL_INC_VERSION_LIST