From 66f1c3b882d59ea2b6600dfe9464c7c81e8c8483 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 10 Jul 2015 15:58:08 +1000 Subject: DNA: replace GCC poison with ifdef for enums --- source/blender/makesdna/DNA_mesh_types.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/makesdna/DNA_mesh_types.h') diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index 3799de011d4..39e56925903 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -130,6 +130,7 @@ typedef struct Mesh { } Mesh; /* deprecated by MTFace, only here for file reading */ +#ifdef DNA_DEPRECATED typedef struct TFace { void *tpage; /* the faces image for the active UVLayer */ float uv[4][2]; @@ -137,9 +138,6 @@ typedef struct TFace { char flag, transp; short mode, tile, unwrap; } TFace; - -#if (DNA_DEPRECATED_GCC_POISON == 1) -#pragma GCC poison TFace #endif /* **************** MESH ********************* */ -- cgit v1.2.3