From 899bc58dcf125a389a7d412d7ba5ede0d02c1ea8 Mon Sep 17 00:00:00 2001 From: Matthew Gotteiner Date: Tue, 4 Nov 2014 12:27:45 -0500 Subject: [PATCH] Suppress compilation error by undefining basename macro --- hphp/runtime/ext/std/ext_std_file.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hphp/runtime/ext/std/ext_std_file.h b/hphp/runtime/ext/std/ext_std_file.h index a79d8c0223e75..bc5ebeb0612fa 100644 --- a/hphp/runtime/ext/std/ext_std_file.h +++ b/hphp/runtime/ext/std/ext_std_file.h @@ -20,6 +20,8 @@ #include "hphp/runtime/base/base-includes.h" +#undef basename + namespace HPHP { /////////////////////////////////////////////////////////////////////////////// // constants