소스 검색

Remove HAVE_INET_ATON as nothing uses it

tags/v1.4.90
Pierre Ossman 9 년 전
부모
커밋
a08a8436a9
2개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0
    2
      CMakeLists.txt
  2. 0
    1
      config.h.in

+ 0
- 2
CMakeLists.txt 파일 보기

@@ -255,13 +255,11 @@ set(HAVE_PAM ${ENABLE_PAM})
# Check for socket functions
if(WIN32)
# check_function_exists() cannot handle stdcall, so just define things
set(HAVE_INET_ATON 1)
set(HAVE_GETADDRINFO 1)
else()
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
set(CMAKE_REQUIRED_LIBRARIES socket)
endif()
check_function_exists(inet_aton HAVE_INET_ATON)
check_function_exists(getaddrinfo HAVE_GETADDRINFO)
set(CMAKE_REQUIRED_LIBRARIES)
endif()

+ 0
- 1
config.h.in 파일 보기

@@ -1,7 +1,6 @@
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
#define PACKAGE_VERSION "@VERSION@"

#cmakedefine HAVE_INET_ATON
#cmakedefine HAVE_GETADDRINFO
#cmakedefine HAVE_ACTIVE_DESKTOP_H
#cmakedefine HAVE_ACTIVE_DESKTOP_L

Loading…
취소
저장