Skip to content

Commit 1a51904

Browse files
committed
Sync headers into platform-agnostic way
1 parent 472f4ee commit 1a51904

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

cmake/main/config.w32.cmake.h.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@
11581158
/* */
11591159
@HAVE_OPENSSL_EXT@
11601160

1161-
/* */
1161+
/* Define to 1 if the PHP extension 'openssl' is available. */
11621162
#cmakedefine HAVE_OPENSSL 1
11631163

11641164
/* Define to 1 if you have the <os/signpost.h> header file. */
@@ -2067,13 +2067,13 @@
20672067
#cmakedefine ZEND_MAX_EXECUTION_TIMERS 1
20682068

20692069
/* Number of bytes for the ZEND_MM alignment. */
2070-
#define ZEND_MM_ALIGNMENT (size_t)8
2070+
#cmakedefine ZEND_MM_ALIGNMENT @ZEND_MM_ALIGNMENT@
20712071

20722072
/* Number of bytes for the logarithmic ZEND_MM alignment. */
2073-
#define ZEND_MM_ALIGNMENT_LOG2 (size_t)3
2073+
#cmakedefine ZEND_MM_ALIGNMENT_LOG2 @ZEND_MM_ALIGNMENT_LOG2@
20742074

20752075
/* Define to 1 if ZEND_MM needs 8-byte realignment, and to 0 if not. */
2076-
#define ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT 0
2076+
#cmakedefine01 ZEND_MM_NEED_EIGHT_BYTE_REALIGNMENT
20772077

20782078
/* Define to 1 if Zend signal handling is supported and enabled. */
20792079
#cmakedefine ZEND_SIGNALS 1

cmake/main/php_config.cmake.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,6 +1144,9 @@
11441144
/* */
11451145
@HAVE_OPENSSL_EXT@
11461146

1147+
/* Define to 1 if the PHP extension 'openssl' is available. */
1148+
#cmakedefine HAVE_OPENSSL 1
1149+
11471150
/* Define to 1 if you have the <os/signpost.h> header file. */
11481151
#cmakedefine HAVE_OS_SIGNPOST_H 1
11491152

0 commit comments

Comments
 (0)