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
#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__