Blender Git Commit Log

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

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021