1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

always add PHP_MANDIR if exists (#20825)

This commit is contained in:
Jordi Kroon
2026-01-14 15:54:53 +01:00
committed by GitHub
parent 16ca3531cf
commit a7abaa012b
2 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ const PHP_BINDIR = UNKNOWN;
* @cvalue PHP_SBINDIR
*/
const PHP_SBINDIR = UNKNOWN;
#ifndef PHP_WIN32
#ifdef PHP_MANDIR
/**
* @var string
* @cvalue PHP_MANDIR

4
main/main_arginfo.h generated
View File

@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: e8b81aa6f03d36f35def2bb1fcc3563b284a113b */
* Stub hash: 22b4c7412680888c122886bccd21e3d38953ce33 */
static void register_main_symbols(int module_number)
{
@@ -24,7 +24,7 @@ static void register_main_symbols(int module_number)
REGISTER_STRING_CONSTANT("PHP_PREFIX", PHP_PREFIX, CONST_PERSISTENT);
REGISTER_STRING_CONSTANT("PHP_BINDIR", PHP_BINDIR, CONST_PERSISTENT);
REGISTER_STRING_CONSTANT("PHP_SBINDIR", PHP_SBINDIR, CONST_PERSISTENT);
#if !defined(PHP_WIN32)
#if defined(PHP_MANDIR)
REGISTER_STRING_CONSTANT("PHP_MANDIR", PHP_MANDIR, CONST_PERSISTENT);
#endif
REGISTER_STRING_CONSTANT("PHP_LIBDIR", PHP_LIBDIR, CONST_PERSISTENT);