We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04860fc commit e6a70e4Copy full SHA for e6a70e4
Release/include/cpprest/web_utilities.h
@@ -141,7 +141,7 @@ class credentials
141
details::plaintext_string decrypt() const
142
{
143
// Encryption APIs not supported on Windows Phone 8.0
144
-#if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP && _MSC_VER < 1800
+#if defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP && _MSC_VER < 1800
145
return details::plaintext_string(new ::utility::string_t(m_password));
146
#else
147
return m_password.decrypt();
0 commit comments