tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Armstrong <a...@tagish.com>
Subject Re: #define JK_VERSION in j-t-c (doesn't exist)
Date Fri, 15 Jun 2001 18:32:30 GMT
GOMEZ Henri wrote:
[snip]

> >If nothing else such a constant could be used to throw a compile time
> >error if people attempt to build a connector using incompatible shared
> >jk code.
> 
> Could you develop ?

D'you mean could I write code that throws a compile time error? If so,
it's just

#if !defined(JK_MODULE_RELEASE) || JK_MODULE_RELEASE < REQUIRED
#error "You need to have a later of the jk module. See source for
details"
#endif

Is that what you meant or were you expecting something more glamorous?

-- 
Andy Armstrong, Tagish

Mime
View raw message