Commit 170e4c94 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

HAVE_GETHOSTNAME is also unnecessary

parent e10e983f
......@@ -206,7 +206,6 @@ CHECK_FUNCTION_EXISTS(uname HAVE_UNAME)
CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP)
CHECK_FUNCTION_EXISTS(stricmp HAVE_STRICMP)
CHECK_FUNCTION_EXISTS(strcmpi HAVE_STRCMPI)
CHECK_FUNCTION_EXISTS(gethostname HAVE_GETHOSTNAME)
CHECK_FUNCTION_EXISTS(gethostbyaddr HAVE_GETHOSTBYADDR)
CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)
CHECK_FUNCTION_EXISTS(inet_addr HAVE_INET_ADDR)
......
......@@ -2,7 +2,6 @@ IF(NOT UNIX)
IF(WIN32)
#SET(HAVE_LIBWINMM 1)
SET(HAVE_LIBWS2_32 1)
SET(HAVE_GETHOSTNAME 1)
SET(HAVE_GETHOSTBYADDR 1)
SET(HAVE_INET_ADDR 1)
SET(HAVE_INET_NTOA 1)
......
......@@ -165,9 +165,6 @@
/* Define to 1 if you have the `gethostbyname_r' function. */
#cmakedefine HAVE_GETHOSTBYNAME_R ${HAVE_GETHOSTBYNAME_R}
/* Define to 1 if you have the `gethostname' function. */
#cmakedefine HAVE_GETHOSTNAME ${HAVE_GETHOSTNAME}
/* Define to 1 if you have the `getpass_r' function. */
#cmakedefine HAVE_GETPASS_R ${HAVE_GETPASS_R}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment