Just so folks are aware why...

>> > +APU_DECLARE_DATA const apr_bucket_type_t bucket_type_diskcache = {
>> > +    "DISKCACHE", 5, APR_BUCKET_DATA,
>> > +    diskcache_bucket_destroy,
>> > +    diskcache_bucket_read,
>> > +    diskcache_bucket_setaside,
>> > +    apr_bucket_shared_split,
>> > +    apr_bucket_shared_copy
>> > +};

results in...

>> .\mod_disk_cache.c(251) : error C2491: 'bucket_type_diskcache' :
>> definition of dllimport data not allowed

...the APU_DECLARE_DATA means "This exported data symbol is provided by
APR-UTIL".

APR-UTIL does not include the source mod_disk_cache.c.

Ergo - fubar.


Reply via email to