diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-07-23 22:19:56 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-07-23 22:19:56 +0400 |
commit | 16ebff308e5813117a49c4bd5a45617103a66d93 (patch) | |
tree | 217b887d68119112da592a748c2975404c51987e /source | |
parent | 6b4b03317d4713058a35a0c080de41e140f85123 (diff) |
time_t isn't supported in SDNA so we'll use double instead. 56bit precision is plenty for storing seconds (for a billion years at least)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesdna/DNA_text_types.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_text_types.h b/source/blender/makesdna/DNA_text_types.h index d6ec62e63c0..fc2a28ea320 100644 --- a/source/blender/makesdna/DNA_text_types.h +++ b/source/blender/makesdna/DNA_text_types.h @@ -31,8 +31,6 @@ #ifndef DNA_TEXT_TYPES_H #define DNA_TEXT_TYPES_H -#include "time.h" - #include "DNA_listBase.h" #include "DNA_ID.h" @@ -59,8 +57,8 @@ typedef struct Text { int undo_pos, undo_len; void *compiled; - - time_t mtime; + + double mtime; } Text; |