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:
Ray molenkamp 2019-05-25 12:23:48 -06:00
parent 161908157d
commit 10e152c590
1 changed files with 1 additions and 0 deletions

View File

@ -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.