diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index bf0b2d37d..6c264edc1 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -1033,7 +1033,7 @@ void rk_qsort(void *, size_t, size_t, int (*)(const void *, const void *)); #endif -#if defined(__LINUX__) && SOCK_CLOEXEC && !defined(SOCKET_WRAPPER_REPLACE) +#if defined(__linux__) && SOCK_CLOEXEC && !defined(SOCKET_WRAPPER_REPLACE) #undef socket #define socket(_fam,_type,_prot) rk_socket(_fam,_type,_prot) int ROKEN_LIB_FUNCTION rk_socket(int, int, int);