- Removed HAVE_GETENV

This commit is contained in:
xboi209 2015-10-17 13:37:21 -07:00
parent ebfb1b97fe
commit ddb665a543
3 changed files with 0 additions and 4 deletions

View file

@ -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)

View file

@ -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

View file

@ -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;