Make it build on Ubuntu 16.04
authorMeng Zhang <jammy.linux@gmail.com>
Tue, 23 Aug 2016 22:17:52 +0000 (15:17 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Tue, 23 Aug 2016 22:23:28 +0000 (15:23 -0700)
commit0137d629ca981aac0186bf63bea82c2d5b9d7832
tree7fb95cad2a70501ed383b0354611d76a3a99077a
parentaeef60dd4a7057444a1a3857f51e7ab462d320a3
Make it build on Ubuntu 16.04

Summary:
include linux/membarrier.h if it is available.
Closes https://github.com/facebook/folly/pull/455

Reviewed By: lukenels

Differential Revision: D3714952

Pulled By: Orvid

fbshipit-source-id: 8c85756af2cb132152b2182816becfea138f0149
folly/configure.ac
folly/portability/SysMembarrier.cpp