diff options
author | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-11 20:59:08 +0000 |
---|---|---|
committer | dhubbard <dhubbard@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-04-11 20:59:08 +0000 |
commit | 6c0a5da964f865787f36e8ea446cab27d0a14710 (patch) | |
tree | 7b9dbbf4a9b21e666ae7e463f54805043acf2251 /include | |
parent | e7535bca2b51bf4b8823a957265e2256b8560e02 (diff) |
added HAVE_SYSINFO preprocessor directives for portability and general happiness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61575 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/options.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/options.h b/include/asterisk/options.h index 27c53d926..d52b710c2 100644 --- a/include/asterisk/options.h +++ b/include/asterisk/options.h @@ -113,7 +113,9 @@ extern int option_verbose; extern int option_debug; /*!< Debugging */ extern int option_maxcalls; /*!< Maximum number of simultaneous channels */ extern double option_maxload; +#if HAVE_SYSINFO extern long option_minmemfree; /*!< Minimum amount of free system memory - stop accepting calls if free memory falls below this watermark */ +#endif extern char defaultlanguage[]; extern time_t ast_startuptime; |