diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-02-16 22:00:14 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-02-16 22:00:14 +0000 |
commit | b79b76e09d4ebd270b9df34cc7e92494ba4df212 (patch) | |
tree | 5c287cfc217cbd98702de165d57b6997d9442b77 /dosish.h | |
parent | e50b42d3b9d4d5466150b00299d8145beabd33df (diff) | |
download | perl-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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) \ |