Skip to content
  • Jon Olav Hauglid's avatar
    901d27f7
    Bug#17730320: REMOVE UNNEEDE CMAKE CHECKS AND #IFDEFS IN 5.7.4 · 901d27f7
    Jon Olav Hauglid authored
    Patch #2. This patch removes the following CMake checks:
    
    TIME_T_UNSIGNED - always false on supported platforms.
    HAVE_GETADDRINFO - always true on supported platforms.
    HAVE_SELECT - always true on supported platforms.
    QSORT_TYPE_IS_VOID - always true on supported platforms.
    HAVE_SOCKET_SIZE_T_AS_socklen_t - always true for non-Windows.
    SIGNAL_RETURN_TYPE_IS_VOID - always true on supported platforms.
    HAVE_POSIX_SIGNALS - result not used.
    HAVE_BSD_SIGNALS - always false on supported platforms.
    HAVE_SVR3_SIGNALS - result not used.
    HAVE_V7_SIGNALS - result not used.
    
    Remove the following typedefs:
    puchar - not used
    pshort - not used
    pfloat - not used
    
    Remove the following macros:
    STRUCT_RLIMIT - always struct rlimit
    sig_handler - always void
    qsort_t - always void
    SORT_RETURN - always return
    
    Remove the following files:
    dbug_long.h - not used
    my_sleep.c - move contents to my_sys.h
    901d27f7
    Bug#17730320: REMOVE UNNEEDE CMAKE CHECKS AND #IFDEFS IN 5.7.4
    Jon Olav Hauglid authored
    Patch #2. This patch removes the following CMake checks:
    
    TIME_T_UNSIGNED - always false on supported platforms.
    HAVE_GETADDRINFO - always true on supported platforms.
    HAVE_SELECT - always true on supported platforms.
    QSORT_TYPE_IS_VOID - always true on supported platforms.
    HAVE_SOCKET_SIZE_T_AS_socklen_t - always true for non-Windows.
    SIGNAL_RETURN_TYPE_IS_VOID - always true on supported platforms.
    HAVE_POSIX_SIGNALS - result not used.
    HAVE_BSD_SIGNALS - always false on supported platforms.
    HAVE_SVR3_SIGNALS - result not used.
    HAVE_V7_SIGNALS - result not used.
    
    Remove the following typedefs:
    puchar - not used
    pshort - not used
    pfloat - not used
    
    Remove the following macros:
    STRUCT_RLIMIT - always struct rlimit
    sig_handler - always void
    qsort_t - always void
    SORT_RETURN - always return
    
    Remove the following files:
    dbug_long.h - not used
    my_sleep.c - move contents to my_sys.h
Loading