Define NOMINMAX before including Windows.h