Some fixes for folly-oss repo.
authorSara Golemon <sgolemon@fb.com>
Mon, 6 Jan 2014 19:35:44 +0000 (11:35 -0800)
committerSara Golemon <sgolemon@fb.com>
Mon, 6 Jan 2014 19:39:35 +0000 (11:39 -0800)
commit311c98eb62832be70d86cf949dc1e5127028b3ca
treecb904ec4d6cd058844651f2de152979d1c78773f
parenta4d8d01064780d2325554aa824f7e359af582f02
Some fixes for folly-oss repo.

Summary:
The __builtin_ia32_crc[qd]i() functions are GCC >= 4.8 specific
folly-config.h includes must be wrapped in a FOLLY_NO_CONFIG guard
FOLLY_HAVE_WEAK_SYMBOLS needs to apply to the cpp file as well as the header

Closes #44
Closes #42

Test Plan: HHVM builds with recent folly

Reviewed By: seanc@fb.com

FB internal diff: D1117181
folly/Checksum.cpp
folly/detail/Malloc.cpp
folly/detail/Malloc.h