On Tue, Jul 22, 2003 at 08:01:43PM -0000, [EMAIL PROTECTED] 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 > +