diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-02 13:32:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-04-02 14:42:13 +0300 |
commit | 964b5f02caf8d49f5057be6b874a912652b710c9 (patch) | |
tree | 0afb494296e375d4dda0aa710f86b7ddfb7ab9a5 /source/blender/makesdna/DNA_windowmanager_types.h | |
parent | 1abd909a92b696eb556b071671314f35d5d5bde0 (diff) |
DNA: add error for DNA computed struct sizes and member offsets mismatch.
Ref T63164, there was a hidden bug like this on Windows 32 bit.
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 63a36f9acf6..420573c74e2 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -189,7 +189,7 @@ enum { #define WM_KEYCONFIG_STR_DEFAULT "blender" /* IME is win32 only! */ -#ifndef WIN32 +#if !defined(WIN32) && !defined(DNA_DEPRECATED) # ifdef __GNUC__ # define ime_data ime_data __attribute__ ((deprecated)) # endif |