Get rid of runtime/base/hphp.h
This is a vestigal limb of HPHPc which caused global_variables.cpp to way over-include by way of runtime/ext/ext.h
Esse commit está contido em:
@@ -14,7 +14,7 @@
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#include "hphp/runtime/base/hphp.h"
|
||||
#include "hphp/runtime/base/base_includes.h"
|
||||
|
||||
namespace HPHP {
|
||||
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
/*
|
||||
+----------------------------------------------------------------------+
|
||||
| HipHop for PHP |
|
||||
+----------------------------------------------------------------------+
|
||||
| Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) |
|
||||
+----------------------------------------------------------------------+
|
||||
| This source file is subject to version 3.01 of the PHP license, |
|
||||
| that is bundled with this package in the file LICENSE, and is |
|
||||
| available through the world-wide-web at the following url: |
|
||||
| http://www.php.net/license/3_01.txt |
|
||||
| If you did not receive a copy of the PHP license and are unable to |
|
||||
| obtain it through the world-wide-web, please send a note to |
|
||||
| license@php.net so we can mail you a copy immediately. |
|
||||
+----------------------------------------------------------------------+
|
||||
*/
|
||||
|
||||
#ifndef incl_HPHP_CPP_BASE_HPHP_H_
|
||||
#define incl_HPHP_CPP_BASE_HPHP_H_
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/**
|
||||
* This is the file that's included at top of a code generated program.
|
||||
*
|
||||
* Do NOT include this file in runtime/base, as this depends on a generated
|
||||
* globals.h that defines GlobalVariables class.
|
||||
*/
|
||||
|
||||
#include "hphp/runtime/base/base_includes.h"
|
||||
#include "hphp/runtime/base/program_functions.h"
|
||||
#include "hphp/runtime/ext/ext.h"
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#endif // incl_HPHP_CPP_BASE_HPHP_H_
|
||||
Referência em uma Nova Issue
Bloquear um usuário