Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Thompson <quornian@googlemail.com>2008-07-23 22:19:56 +0400
committerIan Thompson <quornian@googlemail.com>2008-07-23 22:19:56 +0400
commit16ebff308e5813117a49c4bd5a45617103a66d93 (patch)
tree217b887d68119112da592a748c2975404c51987e /source/blender/makesdna/DNA_text_types.h
parent6b4b03317d4713058a35a0c080de41e140f85123 (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/blender/makesdna/DNA_text_types.h')
-rw-r--r--source/blender/makesdna/DNA_text_types.h6
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;