[Click] How to compile according to Click versions

Eddie Kohler kohler at CS.UCLA.EDU
Sat Apr 30 14:27:12 EDT 2005


Hi Dagang,

If you really need to compile in both places, use

#ifdef MOD_INC_USE_COUNT
MOD_INC_USE_COUNT;
#endif

and similar.

Eddie


Dagang LI wrote:
> Dear all,
> 
> I noticed that MOD_INC and MOD_DEC_USE_COUNT have been
> removed from the cvs version of Click. However,  they are needed in
> previous Click versions with older Linux kernels. How can I make my
> source code compile in both cases?
> 
> Kind regards,
> Dagang
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list