From 3d86d24a682e8073f9c0073f63e208f2d9f58e0c Mon Sep 17 00:00:00 2001 From: Jeff Genovy <29107334+jefgen@users.noreply.github.com> Date: Thu, 25 Oct 2018 17:13:23 -0700 Subject: [PATCH] ICU-20240 Fix Windows build failure in japancal.cpp --- icu4c/source/i18n/japancal.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/icu4c/source/i18n/japancal.cpp b/icu4c/source/i18n/japancal.cpp index 5159be337c2..e2a14024083 100644 --- a/icu4c/source/i18n/japancal.cpp +++ b/icu4c/source/i18n/japancal.cpp @@ -18,6 +18,16 @@ #if !UCONFIG_NO_FORMATTING #if U_PLATFORM_HAS_WINUWP_API == 0 #include // getenv() is not available in UWP env +#else +#ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif +# define VC_EXTRALEAN +# define NOUSER +# define NOSERVICE +# define NOIME +# define NOMCX +#include #endif #include "cmemory.h" #include "erarules.h" -- 2.50.1