Adding some msvc specific defines
authorElizabeth Smith <elizabeths@fb.com>
Tue, 6 May 2014 18:21:11 +0000 (11:21 -0700)
committerDave Watson <davejwatson@fb.com>
Tue, 20 May 2014 19:53:57 +0000 (12:53 -0700)
commit98f4bfaf728390a3ee9f2e69d3d7a07608d6c38a
tree3966dcc13ee31b01600b0f0ee130ccb0bb8f5e84
parentaff1262d92fbb91ce6075a5f1a5c6039ac12d8bd
Adding some msvc specific defines

Summary:
msvc puts ssize_t in a stupidly odd place and names it weirdly too
this also takes care of snprintf missing (the semantics are slightly off in the msvc version regarding the return value, but usage in folly is limited and does NOT do the double snprintf call madness so this is safe)
funcsig and pretty function give you roughtly the same thing in compiler specific implementations
strerror_s is msvc's thread save strerror

@override-unit-failures

Test Plan: fbmake runtests

Reviewed By: delong.j@fb.com

FB internal diff: D1291542
folly/Portability.h