diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2005-07-27 13:09:36 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2005-07-27 13:09:36 +0400 |
commit | b8142515ce762107a186fac501d73a2dbe42047a (patch) | |
tree | 872c8c5e3fc1959ee22a8c40c69e854fc031461a /source/blender/blenlib/intern/storage.c | |
parent | 21e59fd927dbfdebf2732f43621fb251a1650f60 (diff) |
visual studio 8 crashes on this R argument, todo: find replacement
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 64cf2888b50..c3562900739 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -393,8 +393,12 @@ void BLI_adddirstrings() else if(num1) sprintf(files[num].size, "%15d", num1); else sprintf(files[num].size, "0"); +#if 1400 <= _MSC_VER + //visual studio 8 crashes on 'R', todo: check for replacement + strftime(datum, 32, "%d-%b-%y ", tm); +#else strftime(datum, 32, "%d-%b-%y %R", tm); - //for visual studio 8, strftime(datum, 32, "%d-%b-%y ", tm); +#endif if (st_size < 1000) { sprintf(size, "%10d", (int) st_size); |