httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: [PATCH] distinguishing 64-bit vs. 32-bit in httpd -v
Date Tue, 04 Dec 2001 13:49:53 GMT
Jeff Trawick <trawick@attglobal.net> writes:

> Index: server/main.c
> ===================================================================
> RCS file: /cvs/apache/httpd-2.0/server/main.c,v
> retrieving revision 1.107
> diff -u -r1.107 main.c
> --- main.c      2001/11/29 07:30:49     1.107
> +++ main.c      2001/12/04 12:40:05
> @@ -89,6 +89,7 @@
>      printf("Server built:   %s\n", ap_get_server_built());
>      printf("Server's Module Magic Number: %u:%u\n",
>            MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR);
> +    printf("Pointer size:   %d\n", sizeof(void *));

Another possibility is for APR to create a symbol or symbols
distinguishing the compile mode.

  APR_COMPILE_MODEL  with value 32 or 64

  APR_32BIT, APR_64BIT

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message