summaryrefslogtreecommitdiff
path: root/dosish.h
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 /dosish.h
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 'dosish.h')
-rw-r--r--dosish.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/dosish.h b/dosish.h
index 0981137811..59bf122859 100644
--- a/dosish.h
+++ b/dosish.h
@@ -26,7 +26,12 @@
# if (DJGPP==2 && DJGPP_MINOR < 2)
# define NO_LOCALECONV_MON_THOUSANDS_SEP
# endif
-# 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)
#else /* DJGPP */
# ifdef WIN32
# define PERL_SYS_INIT_BODY(c,v) \