Blender: fix compiler warning: FAIL already defined.
parent
8b2f1085c7
commit
fcac614ad0
|
@ -91,8 +91,17 @@ namespace Blender {
|
||||||
// value for the field.
|
// value for the field.
|
||||||
//
|
//
|
||||||
|
|
||||||
#define WARN // warn if field is missing, substitute default value
|
// warn if field is missing, substitute default value
|
||||||
#define FAIL // fail the import if the field does not exist
|
#ifdef WARN
|
||||||
|
# undef WARN
|
||||||
|
#endif
|
||||||
|
#define WARN
|
||||||
|
|
||||||
|
// fail the import if the field does not exist
|
||||||
|
#ifdef FAIL
|
||||||
|
# undef FAIL
|
||||||
|
#endif
|
||||||
|
#define FAIL
|
||||||
|
|
||||||
struct Object;
|
struct Object;
|
||||||
struct MTex;
|
struct MTex;
|
||||||
|
|
Loading…
Reference in New Issue