Skip to content

Commit 08c7fc6

Browse files
committed
Disabling xlocale code on Android since not supported.
1 parent 433a074 commit 08c7fc6

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

Release/src/json/json_serialization.cpp

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -164,25 +164,9 @@ void web::json::details::_Number::format(std::basic_string<char>& stream) const
164164
#else
165165
int numChars;
166166
if (m_number.m_type == number::type::signed_type)
167-
numChars = snprintf(
168-
tempBuffer,
169-
tempSize,
170-
#ifdef ANDROID // CodePlex 269
171-
"%lld",
172-
#else
173-
"%" PRId64,
174-
#endif
175-
m_number.m_intval);
167+
numChars = snprintf(tempBuffer, tempSize, "%" PRId64, m_number.m_intval);
176168
else
177-
numChars = snprintf(
178-
tempBuffer,
179-
tempSize,
180-
#ifdef ANDROID
181-
"%llu",
182-
#else
183-
"%" PRIu64,
184-
#endif
185-
m_number.m_uintval);
169+
numChars = snprintf(tempBuffer, tempSize, "%" PRIu64, m_number.m_uintval);
186170
#endif
187171
stream.append(tempBuffer, numChars);
188172
}

0 commit comments

Comments
 (0)