This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new a29574d2fd Set SIZEOF_VOIDP in CMake build (#9850)
a29574d2fd is described below

commit a29574d2fd089b90f1b909aedbb67b8000f01711
Author: JosiahWI <[email protected]>
AuthorDate: Thu Jun 15 10:34:23 2023 -0500

    Set SIZEOF_VOIDP in CMake build (#9850)
    
    This sets SIZEOF_VOIDP to the value of CMAKE_SIZEOF_VOID_P, which
    is determined by a try_compile [cmake.org].
---
 include/tscore/ink_config.h.cmake.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/tscore/ink_config.h.cmake.in 
b/include/tscore/ink_config.h.cmake.in
index da1c67fe9e..de0245f0b7 100644
--- a/include/tscore/ink_config.h.cmake.in
+++ b/include/tscore/ink_config.h.cmake.in
@@ -79,6 +79,8 @@
 #cmakedefine HAVE_BIO_METH_GET_CREATE 1
 #cmakedefine HAVE_BIO_METH_GET_DESTROY 1
 
+#define SIZEOF_VOIDP @CMAKE_SIZEOF_VOID_P@
+
 /* TODO(cmcfarlen): make this configurable */
 #define TS_PKGSYSUSER "@pkgsysuser@"
 #define TS_PKGSYSGROUP "@pkgsysgroup@"

Reply via email to