From 1af199ccafdf68e0a1aefea44b9a6a47908f1cad Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 12 Oct 2005 14:11:02 +0000 Subject: final touches for 1.11.0 --- rfc3195d.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'rfc3195d.c') diff --git a/rfc3195d.c b/rfc3195d.c index 1bcbfd84..f7508be5 100644 --- a/rfc3195d.c +++ b/rfc3195d.c @@ -26,6 +26,16 @@ */ #include +#ifndef FEATURE_RFC3195 +/* this is a trick: if RFC3195 is not to be supported, we just do an + * error message. + */ +int main() +{ + fprintf(stderr, "error: not compiled with FEATURE_RFC3195 - terminating.\n"); + return(1); +} +#else #include #include #include @@ -236,6 +246,7 @@ int main(int argc, char* argv[]) srAPIExitLib(pAPI); return 0; } +#endif /* #ifndef FEATURE_RFC3195 - main wrapper */ /* * vi:set ai: -- cgit