diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 17:03:07 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-02-07 17:03:07 +0000 |
commit | 737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a (patch) | |
tree | c9e1fe80c2b2ef1a484277f96bf80b17296d45ae /conf.c | |
parent | 0f91f0a71f073b5689ace6504cc62162e234ac79 (diff) | |
download | fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.tar.gz fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.tar.bz2 fetchmail-737b89c60586b61a6fd0fda5f0de05bc6ba3bf6a.zip |
FreeBSD support.
svn path=/trunk/; revision=2376
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -132,8 +132,10 @@ void dump_config(struct runctl *runp, struct query *querylist) * We need this in order to know whether `interface' and `monitor' * are valid options or not. */ -#ifdef linux +#if defined(linux) fputs("os_type = 'linux'\n", stdout); +#elif defined(__FreeBSD__) + fputs("os_type = 'freebsd'\n", stdout); #else fputs("os_type = 'generic'\n", stdout); #endif @@ -275,10 +277,10 @@ void dump_config(struct runctl *runp, struct query *querylist) listdump("aka", ctl->server.akalist); listdump("localdomains", ctl->server.localdomains); -#ifdef linux +#if defined(linux) || defined(__FreeBSD__) stringdump("interface", ctl->server.interface); stringdump("monitor", ctl->server.monitor); -#endif /* linux */ +#endif /* linux || __FreeBSD__ */ stringdump("plugin", ctl->server.plugin); stringdump("plugout", ctl->server.plugout); |