Skip defined checks in folly/Memory.h
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 7 Jan 2017 00:43:48 +0000 (16:43 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 7 Jan 2017 00:47:57 +0000 (16:47 -0800)
commitc5e6d87b2adc858072885ec321968c973372a7ec
tree0c12057a0c04a6b3b8657eecae27a8227726296c
parent084f9e1834d31e64f21260b39f087d21f96428a0
Skip defined checks in folly/Memory.h

Summary:
[Folly] Skip `defined` checks in `folly/Memory.h`.

Undefined symbols, when evaluated by the preprocessor in preprocessor integer contexts, evaluate to `0`. That works for these checks.

Reviewed By: ericniebler

Differential Revision: D4385026

fbshipit-source-id: 3162f8b83431ebab2de53f9ba202e7ea8c339210
folly/Memory.h