- Removed HAVE_GETENV
This commit is contained in:
parent
ebfb1b97fe
commit
ddb665a543
3 changed files with 0 additions and 4 deletions
|
@ -155,7 +155,6 @@ check_function_exists(chdir HAVE_CHDIR)
|
|||
check_function_exists(epoll_create HAVE_EPOLL_CREATE)
|
||||
check_function_exists(fork HAVE_FORK)
|
||||
check_function_exists(ftime HAVE_FTIME)
|
||||
check_function_exists(getenv HAVE_GETENV)
|
||||
check_function_exists(getgid HAVE_GETGID)
|
||||
check_function_exists(getgrnam HAVE_GETGRNAM)
|
||||
check_function_exists(getlogin HAVE_GETLOGIN)
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
#cmakedefine HAVE_EPOLL_CREATE
|
||||
#cmakedefine HAVE_FORK
|
||||
#cmakedefine HAVE_FTIME
|
||||
#cmakedefine HAVE_GETENV
|
||||
#cmakedefine HAVE_GETGID
|
||||
#cmakedefine HAVE_GETGRNAM
|
||||
#cmakedefine HAVE_GETHOSTBYNAME
|
||||
|
|
|
@ -120,7 +120,6 @@ namespace pvpgn
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_GETENV
|
||||
{
|
||||
char const * str;
|
||||
int val;
|
||||
|
@ -130,7 +129,6 @@ namespace pvpgn
|
|||
if (!*h && (str = std::getenv("LINES")) && (val = std::atoi(str)) > 0)
|
||||
*h = val;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!*w)
|
||||
*w = DEF_SCREEN_WIDTH;
|
||||
|
|
Loading…
Reference in a new issue