imbuf/oiio: Resolve build warnings with MSVC.
math.h and oiio's missing_math.h where clashing over the definitions of common math defines like M_PI.
This commit is contained in:
parent
161908157d
commit
10e152c590
|
@ -25,6 +25,7 @@
|
|||
|
||||
#if defined(WIN32)
|
||||
# include "utfconv.h"
|
||||
# define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
// NOTE: Keep first, BLI_path_util conflicts with OIIO's format.
|
||||
|
|
Loading…
Reference in New Issue