Blender Git Loki

Git Commits -> Revision 626a792

Revision 626a792 by Ray molenkamp (master)
November 10, 2020, 15:48 (GMT)
MSVC: Fix build warning

If a define of NOMINMAX was made before BLI_task.hh was included,
the compiler would emit a

warning C4005: 'NOMINMAX': macro redefinition

warning, to work around this only define it if it is not already
defined, and only undefine it if we were the ones that made the
define earlier.

Commit Details:

Full Hash: 626a79204ee2a9023cca1f7b9dfd88aa8d25cfc6
Parent Commit: bd6bfba
Lines Changed: +8, -4

1 Modified Path:

/source/blender/blenlib/BLI_task.hh (+8, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021