Use #if rather than #ifdef to check autoconf guards.
Summary: - Replace instances of '#ifdef FOLLY_*' guards with '#if FOLLY_*'. This allows the configuration system to disable the guard by defining the value to 0 using the -D compiler flag. Test Plan: - fbconfig -r folly && fbmake runtests - ./configure && make check on Ubuntu/FC/Mac Reviewed By: delong.j@fb.com FB internal diff: D999129
Showing
Please register or sign in to comment