diff --git a/src/w32_regex_traits.cpp b/src/w32_regex_traits.cpp index 64fd2ce4..e953c9f4 100644 --- a/src/w32_regex_traits.cpp +++ b/src/w32_regex_traits.cpp @@ -30,7 +30,7 @@ #define NOGDI #include -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_WIN32_WCE) #pragma comment(lib, "user32.lib") #endif