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:
authorCampbell Barton <ideasman42@gmail.com>2011-01-07 22:18:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-07 22:18:31 +0300
commit89c9aaaa25cc7ce60c305d8e30e1c008cb117cf1 (patch)
treeac9e9fc1a682129df4af48a3b9a2fb59e3e85fcf /source/blender/makesdna/DNA_ID.h
parent8f21a43535cb200c0569566a1b012aec883aa53c (diff)
remove references to BKE_utildefines where its not needed.
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index d33d78d4f37..83561766a3c 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -199,6 +199,11 @@ typedef struct PreviewImage {
#define ID_REAL_USERS(id) (((ID *)id)->us - ((((ID *)id)->flag & LIB_FAKEUSER) ? 1:0))
+#ifdef GS
+#undef GS
+#endif
+#define GS(a) (*((short *)(a)))
+
/* id->flag: set frist 8 bits always at zero while reading */
#define LIB_LOCAL 0
#define LIB_EXTERN 1