Browse Source

locale.cpp: Fix windows.h include

pull/4758/head
Gleb Mazovetskiy 4 years ago committed by Anders Jenbo
parent
commit
c54ddbc98d
  1. 3
      Source/platform/locale.cpp

3
Source/platform/locale.cpp

@ -12,6 +12,9 @@
#include "platform/ctr/locale.hpp"
#elif defined(_WIN32)
// clang-format off
// Suppress definitions of `min` and `max` macros by <windows.h>:
#define NOMINMAX 1
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <winnls.h>
// clang-format on

Loading…
Cancel
Save