/usr/include/hphp/runtime/version.h is in hhvm-dev 3.21.0+dfsg-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | #ifndef incl_HHVM_VERSION_H
#define incl_HHVM_VERSION_H
#include <boost/preprocessor/stringize.hpp>
/* cmake -DHHVM_VERSION_OVERRIDE=3.12.0-dev .
* Allows packaging scripts to update the reported
* version without amending a commit to change this file
*
* See: CMake/HHVMVersion.cmake
*/
#ifndef HHVM_VERSION_OVERRIDE
# define HHVM_VERSION_MAJOR 3
# define HHVM_VERSION_MINOR 21
# define HHVM_VERSION_PATCH 0
# define HHVM_VERSION_SUFFIX ""
#endif
/* HHVM_VERSION_ID minus the patch number
* APIs should remain stable while this number is constant
*/
#define HHVM_VERSION_BRANCH ((HHVM_VERSION_MAJOR << 16) | \
(HHVM_VERSION_MINOR << 8))
/* Specific HHVM release */
#define HHVM_VERSION_ID (HHVM_VERSION_BRANCH | HHVM_VERSION_PATCH)
/* Human readable version string (e.g. "3.5.0-dev") */
#define HHVM_VERSION \
(BOOST_PP_STRINGIZE(HHVM_VERSION_MAJOR) "." \
BOOST_PP_STRINGIZE(HHVM_VERSION_MINOR) "." \
BOOST_PP_STRINGIZE(HHVM_VERSION_PATCH) HHVM_VERSION_SUFFIX)
#endif // incl_HHVM_VERSION_H
|