File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ static inline void get_compiler_info(struct strbuf *info)
16
16
#endif
17
17
18
18
#ifdef _MSC_VER
19
- strbuf_addf (info , "MSVC version: %s\n" , _MSC_FULL_VER );
19
+ strbuf_addf (info , "MSVC version: %02d.%02d.%05d\n" ,
20
+ _MSC_VER / 100 , _MSC_VER % 100 , _MSC_FULL_VER % 100000 );
20
21
#endif
21
22
22
23
if (len == info -> len )
23
- strbuf_addf (info , _ ("no compiler information available\n" ));
24
+ strbuf_addstr (info , _ ("no compiler information available\n" ));
24
25
}
25
26
26
27
static inline void get_libc_info (struct strbuf * info )
@@ -32,7 +33,7 @@ static inline void get_libc_info(struct strbuf *info)
32
33
#endif
33
34
34
35
if (len == info -> len )
35
- strbuf_addf (info , _ ("no libc information available\n" ));
36
+ strbuf_addstr (info , _ ("no libc information available\n" ));
36
37
}
37
38
38
39
#endif /* COMPILER_H */
You can’t perform that action at this time.
0 commit comments