httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: cvs commit: apache-1.3/src/os/unix os.h
Date Wed, 04 Mar 1998 08:11:12 GMT


On 4 Mar 1998 coar@hyperreal.org wrote:

>    #if defined(__DATE__) && defined(__TIME__)
>   -const char SERVER_BUILT[] = __DATE__ " " __TIME__;
>   +static const char server_built[] = __DATE__ " " __TIME__;
>    #else
>   -const char SERVER_BUILT[] = "unknown";
>   +static const char server_built[] = "unknown";
>    #endif
>   +static const char server_version[] = SERVER_VERSION;

I don't understand why we can't export variables, why do we need to call a
function to find the variable?  I thought the problem was just that
SERVER_VERSION was a #define and so we needed it to be stored in a const
char [] somewhere. 

Dean


Mime
View raw message