diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-11-10 18:48:18 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-11-10 18:48:18 +0300 |
commit | 626a79204ee2a9023cca1f7b9dfd88aa8d25cfc6 (patch) | |
tree | 2cba153272c61a9716adaeb7fbea967bd87e3c58 /source/blender/blenkernel/intern/layer.c | |
parent | bd6bfba64dad2e14cab2c8372ba0f3ad39b93cdc (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel/intern/layer.c')
0 files changed, 0 insertions, 0 deletions