Commit 65b5c3d2 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 4

Remove a couple of MSVC portability defines

Summary: The first is both wrong (due to the difference in semantics) and unneeded, as MSVC 2015 supports `snprintf` natively and with the correct semantics. The second is simply never used.

Reviewed By: yfeldblum

Differential Revision: D3387551

fbshipit-source-id: ea666a60ce859a59ad3d3ff961b4d7d642fd86eb
parent 9c0a6e4e
......@@ -256,13 +256,6 @@ namespace std { typedef ::max_align_t max_align_t; }
#ifdef _MSC_VER
#include <folly/portability/SysTypes.h>
// sprintf semantics are not exactly identical
// but current usage is not a problem
# define snprintf _snprintf
// semantics here are identical
# define strerror_r(errno,buf,len) strerror_s(buf,len,errno)
// compiler specific to compiler specific
// nolint
# define __PRETTY_FUNCTION__ __FUNCSIG__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment