diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-12 14:11:02 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2005-10-12 14:11:02 +0000 |
commit | 1af199ccafdf68e0a1aefea44b9a6a47908f1cad (patch) | |
tree | 99e341f98d188f9c14beb8674fa78807619f1122 /rfc3195d.c | |
parent | 7e10c67a1737d19f5038ad1164b29804d47d9bce (diff) | |
download | rsyslog-1af199ccafdf68e0a1aefea44b9a6a47908f1cad.tar.gz rsyslog-1af199ccafdf68e0a1aefea44b9a6a47908f1cad.tar.xz rsyslog-1af199ccafdf68e0a1aefea44b9a6a47908f1cad.zip |
final touches for 1.11.0
Diffstat (limited to 'rfc3195d.c')
-rw-r--r-- | rfc3195d.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -26,6 +26,16 @@ */ #include <stdio.h> +#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 <unistd.h> #include <signal.h> #include <sys/socket.h> @@ -236,6 +246,7 @@ int main(int argc, char* argv[]) srAPIExitLib(pAPI); return 0; } +#endif /* #ifndef FEATURE_RFC3195 - main wrapper */ /* * vi:set ai: |