Fix macro check in SysMembarrier
Summary: FOLLY_X64 is usually defined, so check whehter it is defined to 0 or 1. In addition, memory barriers are not necessarily widely available on the mobile platforms. What leads me to believe this is that, at least for older ndk's, atomics are not guaranteed to work for multicore platforms. Reviewed By: andriigrynenko Differential Revision: D3586806 fbshipit-source-id: 3ac8c4b74cac09e41bc3cb65c8adc2732b8b2256
Showing
Please register or sign in to comment