Skip to content

Commit 5848896

Browse files
ptarjansgolemon
authored andcommitted
Allow default .hdf to be compiled in to php binary
Reviewed By: @swtaarrs Differential Revision: D1013374
1 parent 2f4aa50 commit 5848896

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hphp/runtime/base/emulate-zend.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ int emulate_zend(int argc, char** argv){
4545
vector<string> newargv;
4646

4747
newargv.push_back(argv[0]);
48+
#ifdef PHP_DEFAULT_HDF
49+
newargv.push_back("-c");
50+
newargv.push_back(PHP_DEFAULT_HDF);
51+
#endif
4852

4953
bool lint = false;
5054
bool show = false;

0 commit comments

Comments
 (0)