httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: cvs commit: httpd-2.0/modules/generators mod_status.c mod_status.dsp mod_status.h
Date Thu, 24 Jul 2003 13:37:26 GMT
On Tue, Jul 22, 2003 at 08:01:43PM -0000, nd@apache.org wrote:
> nd          2003/07/22 13:01:43
> 
>   Modified:    modules/generators mod_status.c mod_status.dsp mod_status.h
>   Log:
>   fix mod_status compilation on Win32 (stolen from mod_dav).
>   
>   We should consider a rename of AP_*_HOOK_* to CORE_*_HOOK_* ;-)

Are these STATUS_DECLARE_* things really needed? 

>   +#if !defined(WIN32)
>   +#define STATUS_DECLARE(type)            type
>   +#define STATUS_DECLARE_NONSTD(type)     type
>   +#define STATUS_DECLARE_DATA
>   +#elif defined(STATUS_DECLARE_STATIC)
>   +#define STATUS_DECLARE(type)            type __stdcall
>   +#define STATUS_DECLARE_NONSTD(type)     type
>   +#define STATUS_DECLARE_DATA
>   +#elif defined(STATUS_DECLARE_EXPORT)
>   +#define STATUS_DECLARE(type)            __declspec(dllexport) type __stdcall
>   +#define STATUS_DECLARE_NONSTD(type)     __declspec(dllexport) type
>   +#define STATUS_DECLARE_DATA             __declspec(dllexport)
>   +#else
>   +#define STATUS_DECLARE(type)            __declspec(dllimport) type __stdcall
>   +#define STATUS_DECLARE_NONSTD(type)     __declspec(dllimport) type
>   +#define STATUS_DECLARE_DATA             __declspec(dllimport)
>   +#endif
>   +


Mime
View raw message